Integrate Porter with Azure Cloud.
Install or Upgrade
porter plugin install azure
Note that the v1 release of the plugin only works with Porter v1.0.0-alpha.20 and higher.
Secrets plugins allow Porter to store and resolve sensitive bundle data.
For example, to resolve a database password, if your team has a shared key vault that has the password stored in it, you can use the keyvault plugin to inject it as a credential when you install a bundle. Another usecase is to store any sensitive bundle parameters and outputs. For example, if a bundle depends on a redis bundle to generate a database connection string as an output, the connection string will be securely stored in the key vault.
azure.keyvault plugin resolves credentials against secrets in Azure Key Vault.
Open, or create,
Add the following lines to activate the Azure keyvault secrets plugin:
default-secrets: "mysecrets" secrets: name: "mysecrets" plugin: "azure.keyvault" config: vault: "myvault"
Create a key vault and set the vault name in the config with name of the vault.
Create a service principal and create an Access Policy on the vault giving Get and List secret permissions.
Using credentials for the service principal set the environment variables: