mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 20:17:59 +00:00
Propose small spelling change (#3890)
This commit is contained in:
committed by
Vishal Nayak
parent
4ff26fd82d
commit
ce1b43cd48
@@ -69,7 +69,7 @@ func (b *backend) getRawClientConfig(ctx context.Context, s logical.Storage, reg
|
||||
}
|
||||
|
||||
// getClientConfig returns an aws-sdk-go config, with optionally assumed credentials
|
||||
// It uses getRawClientConfig to obtain config for the runtime environemnt, and if
|
||||
// It uses getRawClientConfig to obtain config for the runtime environment, and if
|
||||
// stsRole is a non-empty string, it will use AssumeRole to obtain a set of assumed
|
||||
// credentials. The credentials will expire after 15 minutes but will auto-refresh.
|
||||
func (b *backend) getClientConfig(ctx context.Context, s logical.Storage, region, stsRole, accountID, clientType string) (*aws.Config, error) {
|
||||
|
||||
@@ -77,7 +77,7 @@ func (c *CredentialsConfig) GenerateCredentialChain() (*credentials.Credentials,
|
||||
// Create the credentials required to access the API.
|
||||
creds := credentials.NewChainCredentials(providers)
|
||||
if creds == nil {
|
||||
return nil, fmt.Errorf("could not compile valid credential providers from static config, environemnt, shared, or instance metadata")
|
||||
return nil, fmt.Errorf("could not compile valid credential providers from static config, environment, shared, or instance metadata")
|
||||
}
|
||||
|
||||
return creds, nil
|
||||
|
||||
Reference in New Issue
Block a user