我在 Azure DevOps 管道中运行 Terraform。作为测试方案的一部分,我想为该州创建的后端存储帐户试用 Azure AD 访问模型(而不是访问密钥)。为此,我需要指定 use_azuread_auth 值。我可以这样做吗?
- task: ms-devlabs.custom-terraform-tasks.custom-terraform-release-task.TerraformTaskV2@2
displayName: 'Terraform Init'
inputs:
workingDirectory: '$(System.DefaultWorkingDirectory)'
backendServiceArm: 'tf-ServiceConnection'
backendAzureRmResourceGroupName: 'tfRG'
backendAzureRmStorageAccountName: 'tfstorageaccount'
backendAzureRmContainerName: 'testcontainer'
backendAzureRmKey: 'dir1/dir1.tfstate'
>>>**WhatToUseForUseAzureADAuthentication**<<<: true
我想传递使用 Azure AD 身份验证标志....输入密钥名称需要是什么?