How to Decrypt AzureService Pricipal Secret Key

Rahul Jonnadul1
Tera Contributor

Hi Team,

 

I have configured Azure Service Principal (Clint ID, Tenant ID, Secret Key) in my instance.

I would like to use decrypted Secret Key to pass in the power shell script via a scheduled job.

 

Could you please help to get the decrypted secret key from Azure Service Principal by using JavaScript?

RahulJonnadul1_0-1685981321125.png

 


Thanks & Regards,

Rahul

1 REPLY 1

Rahul Jonnadul1
Tera Contributor

Hi Team,

 

I got the answer to this.

 

Got help from the below video:

https://www.youtube.com/watch?v=9wqqJfHIt6U

Thanks & Regards,

Rahul

In this video, we learn the ServiceNow GlideEncrypter API. ServiceNow Decrypt Password can be done via GlideEncrypter API .IN this video we are gonna decrypt the encrypted password to get the decrypted password. GlideEncrypter provides methods to encrypt and decrypt strings using the Triple-DES ...