If you like this plugin, leave it a ⭐ on Github!
A plugin for Insomnia to retrieve secrets from Azure Key Vault and use them in your environment.
This plugin installs a template tag to read secrets from a Azure Key Vault.
az login
. The plugin will automaticlaly read the cached credentials.You can find the plugin at this link.
AZURE_KEYVAULT
, only the name will do, the plugin will create the full url. For example if the full key vault url is https://my-key-vault-name.vault.azure.net
, the variable will be "AZURE_KEYVAULT": "my-key-vault-name"
.Ctrl + Space
in any place where an environment variable is available and pick Azure Key Vault Secret
The live preview will show the value. Click Done.
The secrets are retrieved once and cached for the lifetime of the application because Insomnia evaluates all environment variables and template tags very often. To force the retrieval of the secrets simply restart Insomnia.
If you need to inject local trusted certificates into the plugin, you can do so by setting the AZURE_KEYVAULT_CA_CERT
environment variable to the path of the certificate file. See PR