Share via


az aks identity-binding

Note

This reference is part of the aks-preview extension for the Azure CLI (version 2.61.0 or higher). The extension will automatically install the first time you run an az aks identity-binding command. Learn more about extensions.

Commands to manage identity bindings in Azure Kubernetes Service.

Commands

Name Description Type Status
az aks identity-binding create

Create a new identity binding in a managed Kubernetes cluster.

Extension GA
az aks identity-binding delete

Delete a specific identity binding in a managed Kubernetes cluster.

Extension GA
az aks identity-binding list

List all identity bindings under a managed Kubernetes cluster.

Extension GA
az aks identity-binding show

Show details of a specific identity binding in a managed Kubernetes cluster.

Extension GA

az aks identity-binding create

Create a new identity binding in a managed Kubernetes cluster.

az aks identity-binding create --cluster-name
                               --managed-identity-resource-id
                               --name
                               --resource-group

Required Parameters

--cluster-name

Name of the managed Kubernetes cluster.

--managed-identity-resource-id

The resource ID of the managed identity to use.

--name -n

Name of the identity binding to show.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az aks identity-binding delete

Delete a specific identity binding in a managed Kubernetes cluster.

az aks identity-binding delete --cluster-name
                               --name
                               --resource-group

Required Parameters

--cluster-name

Name of the managed Kubernetes cluster.

--name -n

Name of the identity binding to show.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az aks identity-binding list

List all identity bindings under a managed Kubernetes cluster.

az aks identity-binding list --cluster-name
                             --resource-group

Required Parameters

--cluster-name

Name of the managed Kubernetes cluster.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az aks identity-binding show

Show details of a specific identity binding in a managed Kubernetes cluster.

az aks identity-binding show --cluster-name
                             --name
                             --resource-group

Required Parameters

--cluster-name

Name of the managed Kubernetes cluster.

--name -n

Name of the identity binding to show.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False