Skip to content

Commit

Permalink
Merge pull request #33 from crossplane-contrib/fix-auth
Browse files Browse the repository at this point in the history
fix: restore auth keys in secrets
  • Loading branch information
displague authored Oct 26, 2023
2 parents 17faf43 + 900fd08 commit 9687c04
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 9687c04

Please sign in to comment.