az aks trustedaccess rolebinding

Note

This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.

Commands to manage trusted access role bindings.

Commands

Name Description Type Status
az aks trustedaccess rolebinding create

Create a new trusted access role binding.

Core GA
az aks trustedaccess rolebinding create (aks-preview extension)

Create a new trusted access role binding.

Extension GA
az aks trustedaccess rolebinding delete

Delete a trusted access role binding according to name.

Core GA
az aks trustedaccess rolebinding delete (aks-preview extension)

Delete a trusted access role binding according to name.

Extension GA
az aks trustedaccess rolebinding list

List all the trusted access role bindings.

Core GA
az aks trustedaccess rolebinding list (aks-preview extension)

List all the trusted access role bindings.

Extension GA
az aks trustedaccess rolebinding show

Get the specific trusted access role binding according to binding name.

Core GA
az aks trustedaccess rolebinding show (aks-preview extension)

Get the specific trusted access role binding according to binding name.

Extension GA
az aks trustedaccess rolebinding update

Update a trusted access role binding.

Core GA
az aks trustedaccess rolebinding update (aks-preview extension)

Update a trusted access role binding.

Extension GA

az aks trustedaccess rolebinding create

Create a new trusted access role binding.

az aks trustedaccess rolebinding create --cluster-name
                                        --name
                                        --resource-group
                                        --roles
                                        --source-resource-id

Examples

Create a new trusted access role binding

az aks trustedaccess rolebinding create -g myResourceGroup --cluster-name myCluster -n bindingName --source-resource-id /subscriptions/0000/resourceGroups/myResourceGroup/providers/Microsoft.Demo/samples --roles Microsoft.Demo/samples/reader,Microsoft.Demo/samples/writer

Required Parameters

--cluster-name

The cluster name.

--name -n

Specify the role binding name.

--resource-group -g

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

--roles

Specify the comma-separated roles.

--source-resource-id

Specify the source resource id of the binding.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--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.

az aks trustedaccess rolebinding create (aks-preview extension)

Create a new trusted access role binding.

az aks trustedaccess rolebinding create --cluster-name
                                        --name
                                        --resource-group
                                        --roles
                                        --source-resource-id

Examples

Create a new trusted access role binding

az aks trustedaccess rolebinding create -g myResourceGroup --cluster-name myCluster -n bindingName --source-resource-id /subscriptions/0000/resourceGroups/myResourceGroup/providers/Microsoft.Demo/samples --roles Microsoft.Demo/samples/reader,Microsoft.Demo/samples/writer

Required Parameters

--cluster-name

The cluster name.

--name -n

Specify the role binding name.

--resource-group -g

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

--roles

Specify the space-separated roles.

--source-resource-id

Specify the source resource id of the binding.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--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.

az aks trustedaccess rolebinding delete

Delete a trusted access role binding according to name.

az aks trustedaccess rolebinding delete --cluster-name
                                        --name
                                        --resource-group
                                        [--yes]

Required Parameters

--cluster-name

The cluster name.

--name -n

Specify the role binding name.

--resource-group -g

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

Optional Parameters

--yes -y

Do not prompt for confirmation.

default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--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.

az aks trustedaccess rolebinding delete (aks-preview extension)

Delete a trusted access role binding according to name.

az aks trustedaccess rolebinding delete --cluster-name
                                        --name
                                        --resource-group
                                        [--yes]

Required Parameters

--cluster-name

The cluster name.

--name -n

Specify the role binding name.

--resource-group -g

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

Optional Parameters

--yes -y

Do not prompt for confirmation.

default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--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.

az aks trustedaccess rolebinding list

List all the trusted access role bindings.

az aks trustedaccess rolebinding list --cluster-name
                                      --resource-group

Required Parameters

--cluster-name

The cluster name.

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

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--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.

az aks trustedaccess rolebinding list (aks-preview extension)

List all the trusted access role bindings.

az aks trustedaccess rolebinding list --cluster-name
                                      --resource-group

Required Parameters

--cluster-name

The cluster name.

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

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--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.

az aks trustedaccess rolebinding show

Get the specific trusted access role binding according to binding name.

az aks trustedaccess rolebinding show --cluster-name
                                      --name
                                      --resource-group

Required Parameters

--cluster-name

The cluster name.

--name -n

Specify the role binding name.

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

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--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.

az aks trustedaccess rolebinding show (aks-preview extension)

Get the specific trusted access role binding according to binding name.

az aks trustedaccess rolebinding show --cluster-name
                                      --name
                                      --resource-group

Required Parameters

--cluster-name

The cluster name.

--name -n

Specify the role binding name.

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

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--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.

az aks trustedaccess rolebinding update

Update a trusted access role binding.

az aks trustedaccess rolebinding update --cluster-name
                                        --name
                                        --resource-group
                                        --roles

Required Parameters

--cluster-name

The cluster name.

--name -n

Specify the role binding name.

--resource-group -g

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

--roles

Specify the comma-separated roles.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--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.

az aks trustedaccess rolebinding update (aks-preview extension)

Update a trusted access role binding.

az aks trustedaccess rolebinding update --cluster-name
                                        --name
                                        --resource-group
                                        --roles

Required Parameters

--cluster-name

The cluster name.

--name -n

Specify the role binding name.

--resource-group -g

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

--roles

Specify the space-separated roles.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--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.