CmdID / az / az sf / az sf managed-node-type / az sf managed-node-type vm-secret
az sf managed-node-type vm-secret add
Add a secret to the node type. Azure CLI reference
1 example Its page in the Azure CLI reference
Examples
Add certificate to the node type as a secret.
az sf managed-node-type vm-secret add -g testRG -c testCluster -n snt --source-vault-id /subscriptions/XXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/testRG/providers/Microsoft.KeyVault/vaults/testkv --certificate-url https://testskv.vault.azure.net:443/secrets/TestCert/xxxxxxxxxxxxxxxxxxxxxxxx --certificate-store myIdentify-gSpecify the resource group name.-cSpecify the name of the cluster, if not given it will be same as resource group name-nnode type name.--source-vault-idKey Vault resource id containing the certificates.--certificate-urlThis is the URL of a certificate that has been uploaded to Key Vault as a secret.--certificate-storeSpecifies the certificate store on the Virtual Machine to which the certificate should be added.