user1980099
user1980099

Reputation: 643

Azure Key Vault - How to update the secrets

In Azure Portal > Key vaults > Secrets, I have secrets with json values (I did not create it). Something like:

...

"SubscriptionId": "XXXXXXX",
"BaseAuthUri": "https://login.microsoftonline.com/XXXXX/oauth/authorize?client_id="&api-version=
...

Thanks

Upvotes: 21

Views: 43014

Answers (1)

EagleDev
EagleDev

Reputation: 1865

You can only change secret attributes such as expiration date, activation date. You cannot change secret's value programatically or via Azure Portal. If you want to update your secret without creating a new vault (meaning the secret identifier still remains intact) you can create a new version of the existing secret.

enter image description here

If the secret value contains the variables to get authorization code, you don't need api version because the URI you call is the authorization endpoint.

Upvotes: 42

Related Questions