az sf managed-cluster client-certificate
Manage client certificates of a manged cluster.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sf managed-cluster client-certificate add |
Add a new client certificate to the managed cluster. |
Core | GA |
az sf managed-cluster client-certificate delete |
Delete a client certificate from the managed cluster. |
Core | GA |
az sf managed-cluster client-certificate add
Add a new client certificate to the managed cluster.
az sf managed-cluster client-certificate add --cluster-name
--resource-group
[--common-name]
[--is-admin {false, true}]
[--issuer-thumbprint]
[--thumbprint]
Examples
Add admin client certificate by thumbprint.
az sf managed-cluster client-certificate add -g testRG -c testCluster --thumbprint XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --is-admin
Add non admin client certificate by common name.
az sf managed-cluster client-certificate add -g testRG -c testCluster --common-name Contoso.com --issuer-thumbprint XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Required Parameters
Specify the name of the cluster, if not given it will be same as resource group name.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Client certificate common name.
Client authentication type.
Space-separated list of issuer thumbprints.
Client certificate thumbprint.
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 sf managed-cluster client-certificate delete
Delete a client certificate from the managed cluster.
az sf managed-cluster client-certificate delete --cluster-name
--resource-group
[--common-name]
[--thumbprint]
Examples
Delete client certificate by thumbprint.
az sf managed-cluster client-certificate delete -g testRG -c testCluster --thumbprint XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Delete client certificate by common name.
az sf managed-cluster client-certificate delete -g testRG -c testCluster --common-name Contoso.com
Required Parameters
Specify the name of the cluster, if not given it will be same as resource group name.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
A single or Space-separated list of client certificate common name(s) to be remove.
A single or Space-separated list of client certificate thumbprint(s) to be remove.
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.