library
turbot/azure
Get Involved
Version
Pipeline: Update Azure Key Vault Purge Protection
Enable or disable purge protection for the specified Azure Key Vault.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run azure.pipeline.update_azure_key_vault_purge_protection \ --arg 'subscription_id=<string>' \ --arg 'resource_group=<string>' \ --arg 'vault_name=<string>' \ --arg 'enable_purge_protection=<bool>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = azure.pipeline.update_azure_key_vault_purge_protection args = { subscription_id = <string> resource_group = <string> vault_name = <string> enable_purge_protection = <bool> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.azure | Yes | Name of Azure connection to use. If not provided, the default Azure connection will be used. | connection.azure.default |
subscription_id | string | Yes | Azure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766. | - |
resource_group | string | Yes | Azure Resource Group. Examples: my-rg, my-rg-123. | - |
vault_name | string | Yes | The Azure Key Vault name. | - |
enable_purge_protection | bool | Yes | Enable or disable purge protection for the key vault. | - |
Outputs
Name | Description |
---|---|
key_vault | The updated Azure Key Vault. |