Share via


az keyvault backup

Manage full HSM backup.

Commands

Name Description Type Status
az keyvault backup start

Begin a full backup of the HSM.

Core GA

az keyvault backup start

Begin a full backup of the HSM.

az keyvault backup start [--blob-container-name]
                         [--hsm-name]
                         [--id]
                         [--storage-account-name]
                         [--storage-container-SAS-token]
                         [--storage-resource-uri]
                         [--use-managed-identity {false, true}]

Optional Parameters

--blob-container-name

Name of Blob Container.

--hsm-name

Name of the HSM. Can be omitted if --id is specified.

--id

Full URI of the HSM.

--storage-account-name

Name of Azure Storage Account.

--storage-container-SAS-token -t

The SAS token pointing to an Azure Blob storage container.

--storage-resource-uri

Azure Blob storage container Uri. If specified all other 'Storage Id' arguments should be omitted.

--use-managed-identity

If True, Managed HSM will use the configured user-assigned managed identity to authenticate with Azure Storage. Otherwise, a sas_token has to be specified.

Accepted values: false, true
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.