Skip to content

Commit

Permalink
Update provider_env.go
Browse files Browse the repository at this point in the history
  • Loading branch information
patrapritish1 committed Sep 22, 2023
1 parent ca87b18 commit 1de51be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spotinst/credentials/provider_env.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package credentials

import (
"fmt"
"os"
)

const (
Expand Down Expand Up @@ -39,8 +40,8 @@ func NewEnvCredentials() *Credentials {
// Retrieve retrieves the keys from the environment.
func (e *EnvProvider) Retrieve() (Value, error) {
value := Value{
Token: "d31949623321d13a43d49176d854cf3fc2b3682cab2604b2d92565af439f6cc8",
Account: "",
Token: os.Getenv(EnvCredentialsVarToken),
Account: os.Getenv(EnvCredentialsVarAccount),
ProviderName: EnvCredentialsProviderName,
}

Expand Down

0 comments on commit 1de51be

Please sign in to comment.