Automate Azure App registration client secret rotation

Rafael Valente 26 Reputation points
2021-10-08T16:06:05.427+00:00

Hello.
I'm integrating Azure Key Vault with Outsystems to automate secret rotation with two set of authentication credentials.
While i was doing the configuration in Azure portal, i needed to create an App in the App registration screen and then generate a client secret to use its value.
The client secret needs a description and a duration. Therefore, all of the automation is kind of invalidated because someone will need to maintain the client secret per application.
My question is, like Key Vault secrets, is there a way to automate application client secrets rotation?

138981-image.png

Thank you.
Best regards,
Rafael Valente

Microsoft Security | Microsoft Entra | Other
{count} vote

7 answers

Sort by: Most helpful
  1. Ankur Upadhyay 0 Reputation points
    2023-10-01T18:18:28.9+00:00

    Hello @Riaz Ansary ,

    Would you be kind enough to share the steps you took and the codebase to achieve this automation .I have a same use case for which i need to automate the expired secrets .

    Any help would be appreciated .

    Thanks ,

    Ankur

    0 comments No comments

  2. Aravind D 0 Reputation points
    2024-06-18T12:36:55.63+00:00

    For Automatic secrets rotation architecture. Refer this Architect

    tecgtropps

    Use this link for Function app code https://github.com/AravindFLASH/function-app.git

    0 comments No comments

Your answer

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