Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#895] Changed default behaviour for credential-process #896

Merged

Conversation

BEllis
Copy link
Contributor

@BEllis BEllis commented Oct 13, 2022

--credential-process now implicitly sets quiet and skip-prompt and will no longer save to ~/.aws/credentials

This prevents the need to set --quiet --skip-prompt and --credentials-file arguments for awscli to work correctly with saml2aws as credentials provider.

…and will no longer save to ~/.aws/credentials
@BEllis
Copy link
Contributor Author

BEllis commented Oct 13, 2022

Relates to #895

@lidall
Copy link

lidall commented Nov 7, 2022

Hi, will this change ensure auto-updating of .aws/credential file?
I am struggling a lot with this issue today

Copy link
Contributor

@mapkon mapkon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BEllis Do you mind taking a look at this and fixing the conflicts?

@BEllis
Copy link
Contributor Author

BEllis commented Mar 30, 2023

@BEllis Do you mind taking a look at this and fixing the conflicts?

@mapkon Done.

@codecov-commenter
Copy link

codecov-commenter commented Mar 30, 2023

Codecov Report

Attention: 33 lines in your changes are missing coverage. Please review.

Comparison is base (0249438) 39.72% compared to head (c4942f0) 39.72%.
Report is 12 commits behind head on master.

Files Patch % Lines
pkg/provider/browser/browser.go 48.48% 13 Missing and 4 partials ⚠️
cmd/saml2aws/commands/login.go 7.14% 13 Missing ⚠️
pkg/flags/flags.go 0.00% 2 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #896      +/-   ##
==========================================
- Coverage   39.72%   39.72%   -0.01%     
==========================================
  Files          53       53              
  Lines        8027     8068      +41     
==========================================
+ Hits         3189     3205      +16     
- Misses       4411     4431      +20     
- Partials      427      432       +5     
Flag Coverage Δ
unittests 39.72% <34.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mapkon
Copy link
Contributor

mapkon commented Mar 30, 2023

Ooof! If we merge this, the build will fail due to reduce code coverage. Mind rolling a few tests?

@mapkon mapkon merged commit ba12ae9 into Versent:master Apr 17, 2024
7 checks passed
mapkon added a commit that referenced this pull request May 21, 2024
Fixing saved credential issue for --credential-process introduced by #896
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants