ArmTokenAuthentication 类
在内部使用,以使用服务原则或托管服务标识身份验证获取 ARM 访问令牌。
对于需要托管访问控制的自动化工作流,请改为使用 ServicePrincipalAuthentication。
- 继承
-
ArmTokenAuthentication
构造函数
ArmTokenAuthentication(arm_access_token, cloud='None')
参数
- cloud
- str
默认值: None
目标云的名称。 可以是“AzureCloud”、“AzureChinaCloud”或“AzureUSGovernment”之一。 如未指定云,则使用 Azure CLI 中任何配置的默认值。 如未找到默认值,则使用“AzureCloud”。
方法
| update_arm_access_token |
更新 ARM 访问令牌。 |
update_arm_access_token
反馈
提交和查看相关反馈