Skip to content

Commit

Permalink
ensure token TTL is set to clientSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
vinay-gopalan committed May 7, 2024
1 parent da4eecd commit 78749f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ func (b *azureSecretBackend) getClientSettings(ctx context.Context, config *azur
settings.ClientID = firstAvailable(os.Getenv("AZURE_CLIENT_ID"), config.ClientID)
settings.ClientSecret = firstAvailable(os.Getenv("AZURE_CLIENT_SECRET"), config.ClientSecret)
settings.IdentityTokenAudience = config.IdentityTokenAudience
settings.IdentityTokenTTL = config.IdentityTokenTTL

settings.SubscriptionID = firstAvailable(os.Getenv("AZURE_SUBSCRIPTION_ID"), config.SubscriptionID)
if settings.SubscriptionID == "" {
Expand Down

0 comments on commit 78749f2

Please sign in to comment.