mirror of
https://github.com/opentofu/opentofu.git
synced 2026-06-04 22:22:52 -04:00
encryption/azure_vault: fix Azure key_provider ignores 'tenant_id' and 'subscription_id'
Resolves #4090 Signed-off-by: Gal Salomon <gasalomo@akamai.com>
This commit is contained in:
parent
fea2f68e4b
commit
48dcf5e5fb
1 changed files with 2 additions and 2 deletions
|
|
@ -176,8 +176,8 @@ func (c Config) Build() (keyprovider.KeyProvider, keyprovider.KeyMeta, error) {
|
|||
},
|
||||
StorageAddresses: auth.StorageAddresses{
|
||||
CloudConfig: cloudConfig,
|
||||
SubscriptionID: stringAttrEnvFallback(c.OIDCToken, "ARM_SUBSCRIPTION_ID"),
|
||||
TenantID: stringAttrEnvFallback(c.OIDCToken, "ARM_TENANT_ID"),
|
||||
SubscriptionID: stringAttrEnvFallback(c.SubscriptionID, "ARM_SUBSCRIPTION_ID"),
|
||||
TenantID: stringAttrEnvFallback(c.TenantID, "ARM_TENANT_ID"),
|
||||
},
|
||||
WorkloadIdentityAuthConfig: auth.WorkloadIdentityAuthConfig{
|
||||
UseAKSWorkloadIdentity: c.UseAKS,
|
||||
|
|
|
|||
Loading…
Reference in a new issue