简体   繁体   English

Github 操作 Azure 登录令牌已过期

[英]Github action Azure login token is expired

I'm using the azure/login github action in my workflow to login to azure to then set some secrets and deploy to Azure Kube.netes Cluster.我在工作流中使用 azure/login github 操作登录到 azure,然后设置一些机密并部署到 Azure Kube.netes 集群。 Suddenly the github action is failing with the error token is expired .突然 github 操作失败,错误token is expired

The last thing I did before this error started showing up "not sure if this is related at all" was to execute the command az vmss identity assign -g on the vmss of the cluster to assign a userAssignedIdentity在这个错误开始显示“不确定这是否相关”之前我做的最后一件事是在集群的 vmss 上执行命令az vmss identity assign -g以分配一个 userAssignedIdentity

在此处输入图像描述

I tried recreated the federated credential for the enterprise app connecting the github actions/workflows to our AAD but nothing changed, I even tried using a client secret authentication, but that gave the same error as well.我尝试为将 github 操作/工作流连接到我们的 AAD 的企业应用程序重新创建联合凭证,但没有任何改变,我什至尝试使用客户端秘密身份验证,但这也给出了同样的错误。

Something was seriously messed up with the cluster, I had to delete it and recreate and recreate the managed identity, granting it access to the cluster and creating a federated credential to allow github to deploy through it to the cluster集群出现严重问题,我不得不删除它并重新创建和重新创建托管身份,授予它对集群的访问权限并创建联合凭证以允许 github 通过它部署到集群

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 HTTP Azure CLI 内的请求 GitHub 操作因 SSL 过期错误而失败 - HTTP request inside Azure CLI GitHub action fails with SSL expired error 错误 GitHub 操作部署到 Azure Web 应用程序 - Error with GitHub Action Deploy to Azure Web App Azure Synapse - Github 个人访问令牌无效 - Azure Synapse - Github personal access token is invalid 使用“ActiveDirectoryPassword”身份验证和 pyodbc 连接到无服务器 Azure Synapse SQL 池时收到“登录超时已过期” - Receiving `Login timeout expired` when connecting to a serverless Azure Synapse SQL pool using `ActiveDirectoryPassword` authentication and pyodbc Microsoft.Data.SqlClient.SqlException (0x80131904): 用户登录失败 '<token-identified principal> '. 令牌已过期</token-identified> - Microsoft.Data.SqlClient.SqlException (0x80131904): Login failed for user '<token-identified principal>'. Token is expired IAP 接受 GCP 中的过期令牌 - IAP accepts expired token in GCP 请求中包含的安全令牌已过期 - The security token included in the request is expired Firebase:错误(授权/用户令牌过期) - Firebase: Error (auth/user-token-expired) 无法访问 OAuth 访问令牌方法,同时执行 Github 使用 Firebase 登录 - Can't access OAuth Access token method while doing Github Login with Firebase Github 动作回滚策略 - Github Action Rollback Strategy
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM