Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi all,
Is it possible to set up a SMTP channel using the DSS API instead of setting it up in the UI, in settings -> Notifications & Integrations -> Messaging Channels ?
I could not find it, though it would be practical to be able to automate all kinds of config initializations for DSS instances. Just like it is possible to create users, groups...
Regards,
Operating system used: CentOS
While there is no API nothing will stop you from deploying you own config file or modifying it via another script. This is where the Messaging Channels config file lives:
[DATA_DIR]/config/messaging-channels.json
Hi @GuillaumeDubois,
There are no APIs for that but we have already logged this with engineering to add them in the future releases.
Thanks!
Jordan
Hi @JordanB , thank you for your anwser, that is good to know, that would be handy.
While there is no API nothing will stop you from deploying you own config file or modifying it via another script. This is where the Messaging Channels config file lives:
[DATA_DIR]/config/messaging-channels.json
Hi @Turribeach, thank you for the tips, I will look into this.
Hello,
@Turribeach, it is working fine with a non hashed password. However is there a way to create a hashed password recognized by DSS ?
Interesting. Well my educated guess is that Dataiku uses an internal hash function/encription method that they won't share with you. Having said that nothing stops you from adding the password manually through the UI and then looking at the encrypted value so you can deploy it via a script when needed. The interesting bit for me was to know if the encrypted value changes from DSS to DSS installation or will be the same. In other words will the same password in different DSS nodes result in the same encrypted value. I did a test and it does change so again my guess is that they are using some sort of salting/initialization vector which is dependant on something on the machine, like the hostname, IP, network MAC address, etc.
So in order of preference these are your choices:
BTW if you are building DSS environments from scratch it will good to understand which environment difference is the one that triggers a different encrypted value. Just because I am curious... š¤