API to encrypt a password

We all know that any password added in the Source configuration is encrypted before saving. What I want to know is if there is a way (like using an API) to directly encrypt the password in the same way it is encrypted while a source is created

I love to see how this discussion will go.

I have asked for decryption in this post: Password Decryption - IdentityNow (IDN) / IDN Discussion and Questions - SailPoint Developer Community Forum

Now it’s encryption turn by @iam_nithesh

If either encryption/decryption is available then we can achieve the other one as well using some intelligent coding with infinite loops.

Even without a specific API to encrypt a password, you could create a throwaway source via the API specific to the VA cluster which would give you the encrypted value when reading back the source configuration.

Decryption is a totally different scenario and would require brute force cracking techniques.

That make sense, we can create a test source and can get encrypted password.

Does the encryption will generate same password always or does it change time to time for same static password.

Do you mean to say I can pass the actual password string in the request body and it will be encrypted? I have not used API to create a source, but would surely try it out!!

I believe so but using the browser developer tools you should be able to confirm

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.