-
Notifications
You must be signed in to change notification settings - Fork 302
Open
Labels
Description
Is your feature request related to a problem? Please describe:
I've generated short term credentials using AWS STS and stored them in a k8s secret. However when I attempt to import an image from S3 using that secret, I get this error in the CDI importer pod:
E1127 04:28:14.705335 1 importer.go:347] InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records.
Describe the solution you'd like:
In addition to accessKeyId and secretKey, it should be possible to pass a session token (required by AWS STS) to enable authentication.
This code would need to be updated to accept the token (see AWS SDK doco here)
| creds := credentials.NewStaticCredentials(accessKey, secKey, "") |