Set environment variables for credHelper
See original GitHub issueI want to use the “ecr-login” credHelper for both from
and to
, but I need to use different environment variables (AWS_PROFILE
in my case), because the IAM is different in each case. If it is possible somehow, I would like to know, and if not, I would like to request this feature (just like e.g. environment
can be set for dockerClient
).
As a workaround, I will now try to run the credHelper manually and pass in username/password values via system properties (-Djib.to.auth.username=...
)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Use AWS ECR Credential Helper with Multiple AWS Accounts
Two ways to pass AWS credentials. Put credentials in ~/.aws/credentials; Use AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables. The user of the ...
Read more >Environment variables to configure the AWS CLI
How to set environment variables. The following examples show how you can configure environment variables for the default user.
Read more >gitcredentials Documentation - Git
If the GIT_ASKPASS environment variable is set, the program specified by the variable is invoked. A suitable prompt is provided to the program...
Read more >Run your CI/CD jobs in Docker containers - GitLab Docs
Documentation for GitLab Community Edition, GitLab Enterprise Edition, Omnibus GitLab, and GitLab Runner.
Read more >Credentials set as environment variables - IBM
Environment variables override configuration and credential files and can be useful for scripting or setting a named profile temporarily as the default. Note: ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
jib-maven-plugin v3.2.1 and jib-gradle-plugin v3.2.1 released.
Hey @chanseokoh I’m happy to pick this up. Will get a PR out soon!