az ams account identity
Manage managed identity settings for an Azure Media Services account.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az ams account identity assign |
Assign a managed identity to an Azure Media Services account. |
Core | GA |
| az ams account identity remove |
Remove a managed identity to an Azure Media Services account. |
Core | GA |
| az ams account identity show |
Show the details of managed identity settings for an Azure Media Services account. |
Core | GA |
az ams account identity assign
Assign a managed identity to an Azure Media Services account.
az ams account identity assign [--ids]
[--name]
[--resource-group]
[--subscription]
[--system-assigned {false, true}]
[--user-assigned]
Examples
Assign a system managed identity to an Azure Media Services account.
az ams account identity assign -n myAmsAccount -g myRG --system-assigned
Assign a user managed identity to an Azure Media Services account.
az ams account identity assign -n myAmsAccount -g myRG --user-assigned myUserId
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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 name of the resource.
| 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 |
Set the system managed identity on the media services account.
| Property | Value |
|---|---|
| Default value: | False |
| Accepted values: | false, true |
Set the user managed identities on the media services account.
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 identity remove
Remove a managed identity to an Azure Media Services account.
az ams account identity remove [--ids]
[--name]
[--resource-group]
[--subscription]
[--system-assigned {false, true}]
[--user-assigned]
Examples
Remove a system managed identity to an Azure Media Services account.
az ams account identity remove -n myAmsAccount -g myRG --system-assigned
Remove a user managed identity to an Azure Media Services account.
az ams account identity remove -n myAmsAccount -g myRG --user-assigned myUserId
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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 name of the resource.
| 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 |
Set the system managed identity on the media services account.
| Property | Value |
|---|---|
| Default value: | False |
| Accepted values: | false, true |
Set the user managed identities on the media services account.
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 identity show
Show the details of managed identity settings for an Azure Media Services account.
az ams account identity show [--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Show the media account's managed identity details
az ams account identity show -n 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.
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 name of the resource.
| 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 |