APIM Self-hosted key rotation

Jonathan 21 Reputation points
2022-12-05T14:32:11.543+00:00

We are attempting to run apim inside of a AKS cluster. The problem comes into key-rotation. We have found several projects to run as a cron job to accomplish this, but they are now all using the now deprecated aadpodidentity. Converting this to a workload identity has not gone well. Does anyone have any solutions for automated key rotation for apim self-hosted?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,782 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JananiRamesh-MSFT 21,861 Reputation points
    2022-12-09T06:44:46.993+00:00

    Hi @Jonathan Thanks for reaching out. We don't have a Microsoft standard /official method of rotating secrets. Most customers use what's available on GitHub and they customize according to their needs. If the problem with the existing samples is purely lack of workload identity, It's still in preview.

    Do let me know if you have any queries.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    0 comments No comments

  2. Jonathan 21 Reputation points
    2022-12-09T14:23:52.347+00:00

    As stated in the original post, all of the Github solutions use aadpodidentity, which is now deprecated. All of the official Microsoft documents now say to migrate to workload identity. "It's still in preview" isn't an acceptable answer when the official documentation says to migrate to it.

    0 comments No comments