az acr encryption

Manage container registry encryption.

For more information, see http://aka.ms/acr/cmk.

Commands

az acr encryption rotate-key

Rotate (update) the container registry's encryption key.

az acr encryption show

Show the container registry's encryption details.

az acr encryption rotate-key

Rotate (update) the container registry's encryption key.

For more information, see http://aka.ms/acr/cmk.

az acr encryption rotate-key --name
                             [--identity]
                             [--key-encryption-key]
                             [--resource-group]
                             [--subscription]

Required Parameters

--name -n

The name of the container registry. You can configure the default registry name using az configure --defaults acr=<registry name>.

Optional Parameters

--identity

Client id of managed identity, resource name or id of user assigned identity. Use '[system]' to refer to the system assigned identity.

--key-encryption-key

Key vault key uri.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

az acr encryption show

Show the container registry's encryption details.

For more information, see http://aka.ms/acr/cmk.

az acr encryption show --name
                       [--query-examples]
                       [--resource-group]
                       [--subscription]

Required Parameters

--name -n

The name of the container registry. You can configure the default registry name using az configure --defaults acr=<registry name>.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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