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 following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the Azure Media Services account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | 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>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Set the system managed identity for account encryption.
Property | Value |
---|---|
Accepted values: | false, true |
Set the user managed identity for account encryption.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
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 following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the Azure Media Services account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |