Skip to content

Commit

Permalink
fix: restore auth keys in secrets
Browse files Browse the repository at this point in the history
Signed-off-by: Marques Johansson <[email protected]>
  • Loading branch information
displague committed Oct 26, 2023
1 parent 17faf43 commit 900fd08
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/clients/equinix.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ const (
errExtractCredentials = "cannot extract credentials"
errUnmarshalCredentials = "cannot unmarshal equinix credentials as JSON"

keyClientID = "client_id"
keyClientSecret = "client_secret"
keyAuthToken = "auth_token"
keyEndpoint = "endpoint"
keyRequestTimeout = "request_timeout"
keyResponseMaxPageSize = "response_max_page_size"
Expand Down Expand Up @@ -84,6 +87,9 @@ func TerraformSetupBuilder(version, providerSource, providerVersion string) terr
keyEndpoint,
keyRequestTimeout,
keyResponseMaxPageSize,
keyAuthToken,
keyClientID,
keyClientSecret,
} {
if equinixCreds[key] != "" {
ps.Configuration[key] = equinixCreds[key]
Expand Down

0 comments on commit 900fd08

Please sign in to comment.