aws / aws/eks-anywhere

[IAM Credentials Migration] [Code build & CR package] Add session token to the aws secret from the code build env var

Open
#9,177 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
328
Avg merge
1d 4h
Merged PRs (30d)
9

Description

In eks-anywhere, add session token from the code bulid env variable in below places

https://github.com/aws/eks-anywhere/blob/01d134aa542eb8ec0a05aa3c4856f344fc96dae4/pkg/providers/snow/reconciler/clientbuilder.go#L70

https://github.com/aws/eks-anywhere/blob/01d134aa542eb8ec0a05aa3c4856f344fc96dae4/pkg/curatedpackages/regional_registry.go#L121

https://github.com/aws/eks-anywhere/blob/a77f775504ce76bdc3de6b003917f01b4ddead78/pkg/curatedpackages/packagecontrollerclient.go#L318

https://github.com/aws/eks-anywhere/blob/a77f775504ce76bdc3de6b003917f01b4ddead78/pkg/curatedpackages/config/secrets.yaml

Contributor guide

Open the contributing guide

Research direction

Inspect the referenced Go files—pkg/providers/snow/reconciler/clientbuilder.go, pkg/curatedpackages/regional_registry.go, pkg/curatedpackages/packagecontrollerclient.go—and pkg/curatedpackages/config/secrets.yaml. Trace how AWS credentials are assembled from the CodeBuild environment, then verify that the session token is included in all four locations and covered by the relevant existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
cloud, infrastructure, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.