We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2a7ff7 commit 8e7a74bCopy full SHA for 8e7a74b
metacreds.go
@@ -21,8 +21,8 @@ func main() {
21
22
region, _ := c.Region()
23
24
- fmt.Printf("export AWS_REGION=%v\n", region)
25
- fmt.Printf("export AWS_ACCESS_KEY_ID=%v\n", creds.AccessKeyID)
26
- fmt.Printf("export AWS_SECRET_ACCESS_KEY=%v\n", creds.SecretAccessKey)
27
- fmt.Printf("export AWS_SESSION_TOKEN=%v\n", creds.SessionToken)
+ fmt.Printf(`export AWS_REGION="%v"\n`, region)
+ fmt.Printf(`export AWS_ACCESS_KEY_ID="%v"\n`, creds.AccessKeyID)
+ fmt.Printf(`export AWS_SECRET_ACCESS_KEY="%v"\n`, creds.SecretAccessKey)
+ fmt.Printf(`export AWS_SESSION_TOKEN="%v"\n`, creds.SessionToken)
28
}
0 commit comments