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
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 name of the resource.
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 on the media services account.
Set the user managed identities on the media services account.
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 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
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 name of the resource.
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 on the media services account.
Set the user managed identities on the media services account.
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 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
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 name of the resource.
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.