Skip to content

AWS S3 assume role #2172

@mattenklicker

Description

@mattenklicker

I need some clarification on a S3 backed registry.
I use a S3 backed registry authenticated through ec2 instance role.
Is it possible to use a foreign S3 bucket, which is only accessible through "assume role"? If I do the "sts assume-role" manually I can access the bucket manually. But do the instance role somehow incorporate the role to assume automatically? Or is something needed within AWS SDK to do this?
#917 let me guess that it should work but the registry fails with s3aws: NoCredentialProviders: no valid providers in chain. Deprecated.

I used g7a09723 because of #1937 didn't make it into 2.6.0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions