Azure DevTest Labs: Personal secret store
Share
Services
You're often asked to enter a complex secret when using Azure DevTest Labs: password for your Windows VM, public SSH key for your Linux VM, or personal access token to clone your Git repo through an artifact. Because secrets are usually long and have random characters, making sure that the input is correct can be tricky.
To solve this problem but also keep your secrets in a safe place, DevTest Labs has introduced a personal secret store for each lab user. There, you can save your secret with a name into the key vault that DevTest Labs creates for you, and use it later.
In the DevTest Labs portal, when a secret is needed to create a VM or to use an artifact, in addition to an input box asking for the secret, you'll see a check box where you can select to use the secrets from the secret store. After it's selected, the input box will turn into a drop-down list, where you can simply pick a secret.
![Pick a secret from your personal secret store](https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/Secret-Store-pick-a-secret.png)
To save your secret into your secret store, go to **My secret store** and enter a name and your secret as the value.
![Manage your secrets in the secret store](https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/Secret-Store-set-secret.png)
In addition to creating VMs and using artifacts, you can save your secret name with formulas and Azure Resource Manager templates. Here's an example of how it's used in a Resource Manager template to provision a new lab VM:
![Use stored secret in an ARM template](https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/Secret-Store-ARM-template.png)
Please try it today and let us know what you think about it! If you have an idea for how to make it work better for you, submit your feedback (or vote for others) at the [Azure DevTest Labs feedback forum](https://feedback.azure.com/forums/320373-azure-devtest-labs).
Have a question? Check out answers or ask a new question at the [MSDN Community forum](https://social.msdn.microsoft.com/Forums/en-US/home?forum=AzureDevTestLabs).
* Virtual Machines
* Azure DevTest Labs
* Features
* Services
* [ Azure DevTest Labs](https://azure.microsoft.com/en-gb/products/devtest-lab/)
* [ Virtual Machines](https://azure.microsoft.com/en-gb/products/virtual-machines/)
What else is happening at Microsoft Azure?
Read update
Services
Share
Generally Available: Storage account default maximum request rate limit increase to 40,000 requests per second
December 12th, 2024
Services
Share
Read update
Services
Share
Generally Available: Regional Disaster Recovery by Azure Backup for AKS
November 22nd, 2024
Services
Share
Generally Available: Enhancements on Azure Container Storage for performance, scalability, and operational insights
November 19th, 2024
Services
Share