CmdID / az / az aks / az aks trustedaccess / az aks trustedaccess rolebinding
az aks trustedaccess rolebinding create
Create a new trusted access role binding. Azure CLI reference
1 example 3 options Its page in the Azure CLI reference
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/writerIdentify-gName of resource group.--cluster-nameThe cluster name.-nSpecify the role binding name.--source-resource-idSpecify the source resource id of the binding.--rolesSpecify the comma-separated roles.Options
--name, -nSpecify the role binding name.--rolesSpecify the comma-separated roles.--source-resource-idSpecify the source resource id of the binding.