question

sakuraime avatar image
0 Votes"
sakuraime asked KalyanChanumolu-MSFT commented

Azure app registration secret and key vault

there is an az command az ad app credential reset , when I type this it generate a new password of the Azure app.

143235-image.png




what's the difference between this password and manually add a secret of the APP ?

are there any az cli to automate update the Keyvault secrets,whenever I reset or create a new secret of a particular app, ??

thanks

azure-active-directory
image.png (17.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

KalyanChanumolu-MSFT avatar image
1 Vote"
KalyanChanumolu-MSFT answered KalyanChanumolu-MSFT commented

@sakuraime You are right, when this command is used without the --append parameter, it generates a new application password and overwrites the existing one.

There is no out of the box CLI command to update the new password in a Keyvault secret.
You will have to update it using az keyvault secret set command.

Please let us know if you have any questions.


If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

thanks for your information . so what's the difference between password and secret of a Azure app registration ?

0 Votes 0 ·

They are not separate. Application secrets are also referred to as Application passwords.
I used different words so that you don't get confused between application secret and KeyVault secret.

Please let us know if you have any further questions.


If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

0 Votes 0 ·