Feature request: Better integration with CodeArtifact
Open
area/build
stage/pm-review
type/feature
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 1.2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 52
Description
### Describe your idea/feature/enhancement
Better integration with CodeArtifact.
### Proposals
##### First Proposal
1. Cache CodeArtifact token in secretmanager, with it's expiration.
2. Every time `sam build` is invoked check secretmanager for the token, if expired refresh, redrive it and pass it to Docker during lambda image build types.
##### Second Proposal
1. Allow for **parameter overrides** to be also taken from environment variables.
2. Pass token as a Parameter to the Metadata.DockerBuildArgs.
3. Do not print the token during builds.
Contributor guide
Assessment
This issue has not been assessed yet.