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
The cluster name.
Specify the role binding name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Specify the space-separated roles.
Specify the source resource id of the binding.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
The cluster name.
Specify the role binding name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not prompt for confirmation.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
The cluster name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
The cluster name.
Specify the role binding name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
The cluster name.
Specify the role binding name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Specify the space-separated roles.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Feedback
Submit and view feedback for