az ams account encryption
Manage encryption for an Azure Media Services account.
Commands
Name | Description | Type | Status |
---|---|---|---|
az ams account encryption set |
Set the encryption settings for an Azure Media Services account. |
Core | GA |
az ams account encryption show |
Show the details of encryption settings for an Azure Media Services account. |
Core | GA |
az ams account encryption set
Set the encryption settings for an Azure Media Services account.
az ams account encryption set --key-type
[--account-name]
[--current-key-id]
[--ids]
[--key-identifier]
[--resource-group]
[--subscription]
[--system-assigned {false, true}]
[--user-assigned]
Examples
Set the media account's encryption to a customer managed key
az ams account encryption set -a myAmsAccount -g myRG --key-type CustomerKey --key-identifier keyVaultId
Set the media account's encryption to a system managed key
az ams account encryption set -a myAmsAccount -g myRG --key-type SystemKey
Required Parameters
SystemKeyThe encryption key source (provider). Allowed values: , .CustomerKey.
Optional Parameters
The name of the Azure Media Services account.
The current key used to encrypt the Media Services account, including the key version.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Set the system managed identity for account encryption.
Set the user managed identity for account encryption.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ams account encryption show
Show the details of encryption settings for an Azure Media Services account.
az ams account encryption show [--account-name]
[--ids]
[--resource-group]
[--subscription]
Examples
Show the media account's encryption details
az ams account encryption show --account-name myAmsAccount -g myRG
Optional Parameters
The name of the Azure Media Services account.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.