Azure AKS客户端密钥已过期-如何更改? [英] Azure AKS Client Secret expired - How to change?

查看:140
本文介绍了Azure AKS客户端密钥已过期-如何更改?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在Azure(AKS/ACS)上运行的Kubernetes群集. 我使用门户网站创建了集群.会使用一个已经过期的客户端密码自动创建一个aadClient.

I have a Kubernetes Cluster running on Azure (AKS / ACS). I created the cluster using the Portal. There a aadClient was created automatically with a client secret that now expired.

有人可以告诉我如何设置已经创建的新客户密码吗?

Can somebody please tell me how to set the new client secret which I already created?

目前,AKS无法更新Loadbalancer值或安装持久性存储.

Right now AKS is not able to update Loadbalancer values or mount persistant storage.

谢谢!

推荐答案

可以通过以下命令更新AKS客户端凭据:

AKS client credentials can be updated via command:

az aks update-credentials \
    --resource-group myResourceGroup \
    --name myAKSCluster \
    --reset-service-principal \
    --service-principal $SP_ID \
    --client-secret $SP_SECRET

官方文档: 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆