CmdID / az / az aks / az aks namespace
az aks namespace get-credentials
Get access credentials for a managed namespace. Azure CLI reference
3 options Its page in the Azure CLI reference
Options
--contextIf specified, overwrite the default context name.--file, -fKubernetes configuration file to update.--overwrite-existingOverwrite any existing cluster entry with the same name.