az sf managed-cluster client-certificate

Manage client certificates of a manged cluster.

Commands

az sf managed-cluster client-certificate add

Add a new client certificate to the managed cluster.

az sf managed-cluster client-certificate delete

Delete a client certificate from the managed cluster.

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]
                                             [--subscription]
                                             [--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

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

Specify the resource group name. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--common-name

Client certificate common name.

--is-admin

Client authentication type.

accepted values: false, true
--issuer-thumbprint

Space-separated list of issuer thumbprints.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--thumbprint

Client certificate thumbprint.

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]
                                                [--subscription]
                                                [--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

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

Specify the resource group name. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--common-name

A single or Space-separated list of client certificate common name(s) to be remove.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--thumbprint

A single or Space-separated list of client certificate thumbprint(s) to be remove.