az redis identity

Manage identity assigned to Azure cache for Redis.

Commands

az redis identity assign

Assign identity for Azure cache for Redis.

az redis identity remove

Remove the identity already assigned for Azure cache for Redis.

az redis identity show

Show the identity assigned for Azure cache for Redis.

az redis identity assign

Assign identity for Azure cache for Redis.

az redis identity assign [--ids]
                         [--mi-system-assigned]
                         [--mi-user-assigned]
                         [--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.

--mi-system-assigned

Flag to specify system assigned identity.

--mi-user-assigned

One or more space separated resource IDs of user assigned identities.

--name -n

Name of the Redis cache.

--resource-group -g

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

az redis identity remove

Remove the identity already assigned for Azure cache for Redis.

az redis identity remove [--ids]
                         [--mi-system-assigned]
                         [--mi-user-assigned]
                         [--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.

--mi-system-assigned

Flag to specify system assigned identity.

--mi-user-assigned

One or more space separated resource IDs of user assigned identities.

--name -n

Name of the Redis cache.

--resource-group -g

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

az redis identity show

Show the identity assigned for Azure cache for Redis.

az redis 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

Name of the Redis cache.

--resource-group -g

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