az aks trustedaccess rolebinding

Note

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

Commands to manage trusted access role bindings.

Commands

az aks trustedaccess rolebinding create

Create a new trusted access role binding.

az aks trustedaccess rolebinding delete

Delete a trusted access role binding according to name.

az aks trustedaccess rolebinding list

List all the trusted access role bindings.

az aks trustedaccess rolebinding show

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

az aks trustedaccess rolebinding update

Update a trusted access role binding.

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 space-separated roles.

--source-resource-id -r

Specify the source resource id of the binding.

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

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

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

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 space-separated roles.