Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gcpkms/keysource.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ func getGoogleCredentials() ([]byte, error) {

// getGoogleOAuthTokenFromEnv returns the SopsGoogleCredentialsOauthTokenEnv variable,
// as the OAauth 2.0 token.
// It returns an error and a nil byte slice if the envrionment variable is not set.
// It returns an error and a nil byte slice if the environment variable is not set.
func getGoogleOAuthTokenFromEnv() oauth2.TokenSource {
if token, ok := os.LookupEnv(SopsGoogleCredentialsOAuthTokenEnv); ok && len(token) > 0 {
tokenSource := oauth2.StaticTokenSource(
Expand Down