az identity

Managed Identities.

Commands

az identity create

Create Identities.

az identity delete

Deletes the identity.

az identity federated-credential

Manage federated identity credentials under user assigned identities.

az identity federated-credential create

Create a federated identity credential under an existing user assigned identity.

az identity federated-credential delete

Delete a federated identity credential under an existing user assigned identity.

az identity federated-credential list

List all federated identity credentials under an existing user assigned identity.

az identity federated-credential show

Show a federated identity credential under an existing user assigned identity.

az identity federated-credential update

Update a federated identity credential under an existing user assigned identity.

az identity list

List Managed Identities.

az identity list-operations

Lists available operations for the Managed Identity provider.

az identity list-resources

Lists the associated resources for this identity.

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 list-resources

Lists the associated resources for this identity.

az identity list-resources [--filter]
                           [--ids]
                           [--name]
                           [--orderby]
                           [--resource-group]
                           [--skip]
                           [--skiptoken]
                           [--top]

Optional Parameters

--filter

OData filter expression to apply to the query. Default value is None.

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

--orderby

OData orderBy expression to apply to the query. Default value is None.

--resource-group -g

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

--skip

Number of records to skip. Default value is None.

--skiptoken

A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. Default value is None.

--top

Number of records to return. Default value is None.

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