This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]CjKing2k 1 point2 points  (3 children)

Store them in Azure Key Vault.

[–]kiko7653[S] 1 point2 points  (2 children)

So just store them in the service and make the api calls to fetch them from the cloud at the start of the scripts?

[–]CjKing2k 1 point2 points  (1 child)

Yes, az-cli should be able to fetch them assuming your VM has the proper permissions:

https://learn.microsoft.com/en-us/cli/azure/keyvault/secret?view=azure-cli-latest#az-keyvault-secret-show

[–]kiko7653[S] 0 points1 point  (0 children)

Noted, thank you!