library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Encrypt Storage Account

Encrypt an Azure storage account using a specified Key Vault key.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure.pipeline.encrypt_storage_account \
--arg 'subscription_id=<string>' \
--arg 'resource_group=<string>' \
--arg 'account_name=<string>' \
--arg 'encryption_key_name=<string>' \
--arg 'encryption_key_version=<string>' \
--arg 'key_vault_uri=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = azure.pipeline.encrypt_storage_account
args = {
subscription_id = <string>
resource_group = <string>
account_name = <string>
encryption_key_name = <string>
encryption_key_version = <string>
key_vault_uri = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.azure
YesName of Azure connection to use. If not provided, the default Azure connection will be used.connection.azure.default
subscription_id
string
YesAzure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766.-
resource_group
string
YesAzure Resource Group. Examples: my-rg, my-rg-123.-
account_name
string
YesThe storage account name.-
encryption_key_name
string
YesThe name of the encryption key in Key Vault.-
encryption_key_version
string
YesThe version of the encryption key in Key Vault. Leave blank for the latest version.-
key_vault_uri
string
YesThe URI of the Key Vault where the encryption key is stored.-

Outputs

NameDescription
encryption_statusThe updated encryption status of the storage account.