Skip to content

[Bug] Can't remove custom CA certs in Azure Kubernetes Service (AKS) in cluster level. #5214

@wayden88

Description

@wayden88

Is your feature request related to a problem?
According to https://learn.microsoft.com/en-us/azure/aks/custom-certificate-authority, it's possible to enable a custom certificate authority (CA) at the cluster level in AKS like below:

=====
az aks create --resource-group --name --node-count 2 --custom-ca-trust-certificates FileWithCAs --generate-ssh-keys

=====
az aks update --resource-group --name --custom-ca-trust-certificates

However, there is currently no supported method to disable the custom CA certificate once it has been applied at the cluster level.

While disabling is possible at the node pool level using the command az aks nodepool update --disable-custom-ca-trust, this does not apply to cluster-level configurations.

Describe the solution you'd like
The solution we are looking for would be a command similar to:
az aks update --disable-custom-ca-trust-certificates
This would allow users to remove the custom CA trust from the cluster level in a straightforward and supported way.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions