diff --git a/builtin/credential/aws/path_login.go b/builtin/credential/aws/path_login.go index 8e31eea0584a..9e641e7e6435 100644 --- a/builtin/credential/aws/path_login.go +++ b/builtin/credential/aws/path_login.go @@ -1730,7 +1730,7 @@ func getMetadataValue(fromAuth *logical.Auth, forKey string) (string, error) { if val, ok := fromAuth.Metadata[forKey]; ok { return val, nil } - return "", fmt.Errorf("%q unfound in auth metadata", forKey) + return "", fmt.Errorf("%q not found in auth metadata", forKey) } const iamServerIdHeader = "X-Vault-AWS-IAM-Server-ID"