az identity

Managed Identities.

Commands

az identity create

Create Identities.

az identity delete

Deletes the identity.

az identity list

List Managed Identities.

az identity list-operations

Lists available operations for the Managed Identity provider.

az identity show

Gets the identity.

az identity create

Create Identities.

az identity create --name
                   --resource-group
                   [--location]
                   [--tags]

Examples

Create an identity.

az identity create --name MyIdentity --resource-group MyResourceGroup

Required Parameters

--name -n

The name of the identity resource.

--resource-group -g

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

Optional Parameters

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

az identity delete

Deletes the identity.

az identity delete [--ids]
                   [--name]
                   [--resource-group]

Optional Parameters

--ids

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 -n

The name of the identity resource.

--resource-group -g

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

az identity list

List Managed Identities.

az identity list [--resource-group]

Optional Parameters

--resource-group -g

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

az identity list-operations

Lists available operations for the Managed Identity provider.

az identity list-operations

az identity show

Gets the identity.

az identity show [--ids]
                 [--name]
                 [--resource-group]

Optional Parameters

--ids

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 -n

The name of the identity resource.

--resource-group -g

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