Skip to content

Commit

Permalink
fix: Load Azure KV tenant-id correctly from the config file
Browse files Browse the repository at this point in the history
A typo was found to not load the tenant-id correctly from the config
file.

The apparent issue is 404 status code with a HTML page

This commit fixes the behavior.
  • Loading branch information
Anis Elleuch authored and harshavardhana committed May 2, 2023
1 parent 8a9e169 commit 1e46c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edge/server-config.go
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ func (s *AzureKeyVaultKeyStore) Connect(ctx context.Context) (kv.Store[string, [
switch {
case s.TenantID != "" || s.ClientID != "" || s.ClientSecret != "":
creds := azure.Credentials{
TenantID: s.Endpoint,
TenantID: s.TenantID,
ClientID: s.ClientID,
Secret: s.ClientSecret,
}
Expand Down

0 comments on commit 1e46c48

Please sign in to comment.