forked from TrueCloudLab/certificates
Fix credentials file parameter on awskms
This commit is contained in:
parent
35ede74ea7
commit
c4d0c8a18e
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ func New(ctx context.Context, opts apiv1.Options) (*KMS, error) {
|
|||
*o.Config.Region = v
|
||||
}
|
||||
if f := u.Get("credentials-file"); f != "" {
|
||||
o.SharedConfigFiles = []string{opts.CredentialsFile}
|
||||
o.SharedConfigFiles = []string{f}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue