Hello, is there a way to encrypt username and password as environment variable so they can be retrieved and decrypted using the Data Process (PGP decryption)?
In the environment extensions If it is the connection settings and if it is password, then it is already in the encrypted state. Also, you could do a base64 encryption. i mean we could pass the base64 of the password. For the other things by using some scripting techniques, I believe it is possible to encrypt the username as well. Try to pass the encrypted value( result from your script) always to the process property/dynamic process property and extend this property and use it.
But as far as I know, username cannot be encrypted for most of the connectors in Boomi.
Happy Exploring Boomi.
Thanks for your reply.
I'll try to explain better what I'm trying to do. Basically I need to access some REST APIs which require username/password the first time to access them.
I don't want to hard-code the credentials in clear into properties so I was wondering if there is a way to have some environment variable username and password (or whatever we want to call them) that hold the credentials for the APIs but they should be encrypted.
Whenever I call the API then I would use the Process Data shape and decrypt that variable.
maybe i'm misunderstanding something. is there a reason you wouldn't just use a normal connector connection, in which case the password would already be encrypted for you?
Idea. Enter the password using the message shape into the 'current data'. Encrypt it. Then you would manually enter that encrypted pgp text into an dynamic process property in the atom extensions.
On your deployed process it, will use the message shape to load extended DPP into the 'current data'. Decrypt it. Then store that in your DPP for the rest of your processing. Hopefully, I explained this well enough
I like that connection Strings are separate from Dynamic Process Properties.
Can you access the Connection Strings at runtime like presumably the connectors must do or this SECURELY hidden from developers writing their own java classes to do it and added to their atoms?
Is there a way to make Dynamic Process Properties encrypted in the same way as Connection String Password is? edited= no and why I think this idea exists Process Properties - Encrypted Text
What determines Connection String Password to be encrypted as I would like Connection String User Name to also be encrypted and always be encrypted when entering and maintaining in the screens.
Retrieving data ...