Generate CircleCI Configuration YAML from JavaScript or TypeScript. Use Dynamic Configuration and the Config SDK together for live generative config.
82
stars
29
forks
source link
Request: aws_auth should support specifying an IAM role when fetching executor images from ECR #182
Open
dan-lind opened 1 year ago
Is there an existing issue that is already proposing this?
Is your feature request related to a problem? Please describe it
Since the introduction of support for OIDC-tokens, CircleCI recommends using using OIDC tokens over Access Keys/Secrets. https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect
But looking at the docs at https://circleci.com/docs/private-images/#aws-ecr we can only specify a key/secret pair when fetching images from private ECR repos
Describe the solution you'd like
Support specifying a role-arn, similar to the example given here https://circleci.com/docs/openid-connect-tokens/#adding-aws-to-the-circleci-configuration-file
Teachability, documentation, adoption, migration strategy
This change will allow users to follow security best practices as recommended by CircleCI.
What is the motivation / use case for changing the behavior?
Security. Users shouldn't be forced to use access keys and secrets when the rest of the CircleCI platform supports and recommends using OIDC tokens.