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
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 comma-separated roles.
Specify the source resource id of the binding.
Global Parameters
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 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
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.
Global Parameters
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.
Global Parameters
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 (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
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.
Global Parameters
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>
.
Global Parameters
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 (aks-preview extension)
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>
.
Global Parameters
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>
.
Global Parameters
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 (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
The cluster name.
Specify the role binding name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
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 comma-separated roles.
Global Parameters
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 (aks-preview extension)
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.
Global Parameters
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.