Azure app registration secret and key vault

sakuraime 2,351 Reputation points
2021-10-25T03:59:39.62+00:00

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

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KalyanChanumolu-MSFT 8,356 Reputation points
    2021-10-25T11:05:41.34+00:00

    @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.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.