We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7ae5f2 commit d40b9e6Copy full SHA for d40b9e6
cmd/aws.go
@@ -98,7 +98,12 @@ keyD: "<value-of-secret/root-d-from-aws-secrets-manager>"
98
Run: func(cmd *cobra.Command, args []string) {
99
common.Logger.Debug("get-secrets called")
100
101
- opts := []aws.SecretsClientOpt{aws.CacheTTL(common.DefaultCacheTTL), aws.Profile(profile), aws.Region(region)}
+ opts := []aws.SecretsClientOpt{
102
+ aws.CacheTTL(common.DefaultCacheTTL),
103
+ aws.Profile(profile),
104
+ aws.Region(region),
105
+ aws.WithContext(awsCmd.Context()),
106
+ }
107
if useChainCredentials {
108
opts = append(opts, aws.UseChainCredentials())
109
} else {
0 commit comments