-
Notifications
You must be signed in to change notification settings - Fork 6.4k
feat: allow auth token to be passed in via env #19898
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
feat: allow auth token to be passed in via env #19898
Conversation
Allows the authentication token to come from environment if it's not found in cli args. Signed-off-by: Nathan Shaaban <86252985+ctrlaltf24@users.noreply.github.com>
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #19898 +/- ##
=========================================
Coverage ? 55.79%
=========================================
Files ? 320
Lines ? 44378
Branches ? 0
=========================================
Hits ? 24760
Misses ? 17056
Partials ? 2562 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@ctrlaltf24 please run |
Head branch was pushed to by a user without write access
Signed-off-by: Nathan Shaaban <86252985+ctrlaltf24@users.noreply.github.com>
f1840f8
to
def4d39
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, thanks!
* feat: allow auth token to be passed in via env Allows the authentication token to come from environment if it's not found in cli args. Signed-off-by: Nathan Shaaban <86252985+ctrlaltf24@users.noreply.github.com> * chore: generate cli docs Signed-off-by: Nathan Shaaban <86252985+ctrlaltf24@users.noreply.github.com> --------- Signed-off-by: Nathan Shaaban <86252985+ctrlaltf24@users.noreply.github.com> Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Signed-off-by: Adrian Aneci <aneci@adobe.com>
Allow reading of the argo server and auth token from environment for the purposes of not including the token in the command string.
Prefer cli argument over value in environment.
Closes: #19897
Checklist: