Commit Graph

88 Commits

Author SHA1 Message Date
Seth Vargo
0920706a19
Update troubleshooting docs for Python (#488)
Some checks failed
Release / release (push) Failing after 0s
Test / unit (push) Has been cancelled
Test / direct_workload_identity_federation (macos-latest) (push) Has been cancelled
Test / direct_workload_identity_federation (ubuntu-latest) (push) Has been cancelled
Test / direct_workload_identity_federation (windows-latest) (push) Has been cancelled
Test / workload_identity_federation_through_service_account (macos-latest) (push) Has been cancelled
Test / workload_identity_federation_through_service_account (ubuntu-latest) (push) Has been cancelled
Test / workload_identity_federation_through_service_account (windows-latest) (push) Has been cancelled
Test / credentials_json (macos-latest) (push) Has been cancelled
Test / credentials_json (ubuntu-latest) (push) Has been cancelled
Test / credentials_json (windows-latest) (push) Has been cancelled
Test / docker (push) Has been cancelled
Closes https://github.com/google-github-actions/auth/pull/487

---------

Co-authored-by: Abhi Srivastava <bits.abhi@gmail.com>
2025-06-02 10:48:14 -04:00
Seth Vargo
bfaa66bd66
Document that the OIDC token expires in 5min (#483) 2025-04-25 08:43:32 -04:00
Louis
28d44ba259
fix: add runs-on to README.md example (#460)
This is needed in order for this example to "work". The runner that
needs to be picked is specified above, but it's still handy if we can
simply copy / paste from the README.

<!--
Thank you for proposing a pull request! Please note that SOME TESTS WILL
LIKELY FAIL due to how GitHub exposes secrets in Pull Requests from
forks.
Someone from the team will review your Pull Request and respond.

Please describe your change and any implementation details below.
-->
2025-01-23 11:44:32 -05:00
Seth Vargo
c8788cc4c5
Recommend gcloud storage over gsutil (#438)
Closes #404
2024-08-21 17:00:27 +00:00
Seth Vargo
6384b341b7
Document ID Token lifetimes (#433)
Closes https://github.com/google-github-actions/auth/issues/432
2024-08-07 01:28:34 +00:00
Seth Vargo
5e210ff4ed
Update spelling and workflow versions (#422)
Closes #421

---------

Signed-off-by: JGStew <james@jgstew.com>
Signed-off-by: JGStew <jamesgstewart2@gmail.com>
Co-authored-by: JGStew <james@jgstew.com>
Co-authored-by: JGStew <jamesgstewart2@gmail.com>
2024-06-21 11:57:04 -04:00
Seth Vargo
e0122d6a97
Add request_reason for plumbing though user-supplied audit information (#413)
Fixes https://github.com/google-github-actions/auth/issues/412
2024-05-14 16:46:35 +00:00
Seth Vargo
8d44d59719
Fix typo (#408)
Fixes #407
2024-04-16 21:39:19 +00:00
Seth Vargo
ee1c1b641f
Add security considerations for Attribute Conditions (#393) 2024-02-07 08:19:20 -05:00
Seth Vargo
ec485ac236
Remove documentation on retries (deprecated) (#392) 2024-02-06 16:34:44 +00:00
Seth Vargo
a57dd04655
Support newline-separated inputs for delegates and access_token_scopes (#381)
Fixes #380
2024-01-08 17:24:50 -05:00
Seth Vargo
fb74905737
Note .dockerignore in the exclusion for credentials (#376)
Closes https://github.com/google-github-actions/auth/pull/375

(Opening as me to trigger CI)

---------

Signed-off-by: Andrew Howden <hello@andrewhowden.com>
Signed-off-by: Seth Vargo <seth@sethvargo.com>
Co-authored-by: Andrew Howden <hello@andrewhowden.com>
2024-01-04 12:25:30 -05:00
Seth Vargo
56562ddf6a
Use new markdown syntax for alerts (#371) 2023-12-18 14:06:39 -05:00
Seth Vargo
5f7afaa53a
Add service_account to WIF through SA example (#369)
Refs https://github.com/google-github-actions/auth/issues/368
2023-12-13 23:17:38 -05:00
Seth Vargo
5e5db2b28b
Document that project_id might be required (#367) 2023-12-13 10:28:08 -05:00
Seth Vargo
b372ba41cf
Remove broken markdown links (#362) 2023-12-04 08:47:12 -05:00
Seth Vargo
7c4e01fd00
Make auth universe-aware (#352)
This adds support for making the action "universe" aware, so it will be
usable for TPC and GDCH.
2023-11-28 21:59:39 -05:00
Seth Vargo
fe9207673e
Add support for Direct Workload Identity auth (#348)
This adds a new authentication mode, Direct Workload Identity
Federation. This new mode permits authenticating to Google Cloud
directly using the GitHub Actions OIDC token instead of proxying through
a Google Cloud Service Account.
2023-11-28 10:41:10 -05:00
Seth Vargo
43a59886fc
Update deps (#339) 2023-11-08 06:22:12 -08:00
Matt Seymour
e607103ba4
Update README.md (#332)
Update code sample to use latest github action/checkout@v4.

Signed-off-by: Matt Seymour <mattaseymour@gmail.com>
2023-10-04 03:02:29 -04:00
Seth Vargo
286fc8e4ba
Add support info (#303) 2023-05-04 11:44:07 -07:00
Seth Vargo
41d8fa4aaa
Enable default retries of 3 retry attempts at 250ms backoff (#294)
This changes the default behavior to enable retries. Retry logic has
existed for awhile, but required direct user action to enable. This
enables 3 retries with a fibonacci backoff of 250ms by default to handle
transient communication errors with upstream APIs.
2023-04-17 22:57:11 +00:00
Daniel Brown
5431d4afba
Document admission for all repos of an owner (#279)
I really struggleded several days with this and thankfully i found
https://github.com/google-github-actions/auth/issues/77#issuecomment-990371420
big thanks to @sethvargo ❤
as @dobromyslov already said, this should be documented
so I went ahead and created added a paragrah for this use case

---------

Signed-off-by: Daniel Brown <djbrown@users.noreply.github.com>
2023-03-24 10:24:13 -04:00
Kevin Cheung
126054d1a9
Note that Firebase Admin Node.js SDK doesn't support WLIF (#268)
<!--
Thank you for proposing a pull request! Please note that SOME TESTS WILL
LIKELY FAIL due to how GitHub exposes secrets in Pull Requests from
forks.
Someone from the team will review your Pull Request and respond.

Please describe your change and any implementation details below.
-->

---------

Signed-off-by: Kevin Cheung <kevinthecheung@users.noreply.github.com>
2023-03-07 19:03:11 -05:00
Seth Vargo
1475a55569
Document possible issues with org policies (#258)
Fixes GH-257
2023-01-24 09:02:03 -05:00
Seth Vargo
46affe9814
Small README tweak 2022-12-06 14:41:49 -05:00
Mike Verbanic
dcb0567d1a
fix: update doc versions (#240)
<!--
Thank you for proposing a pull request! Please note that SOME TESTS WILL
LIKELY FAIL due to how GitHub exposes secrets in Pull Requests from
forks.
Someone from the team will review your Pull Request and respond.

Please describe your change and any implementation details below.
-->
2022-11-09 09:11:19 -05:00
Seth Vargo
d419231eb9
Fix one 2022-11-08 12:01:21 -05:00
Seth Vargo
9cf496b575
Switch to auth@v1 (#238)
There's a chicken-and-egg problem here where we want to have the docs
reflect v1 (so the github marketplace shows the right thing), but we
can't cut v1 until the docs are updated.
2022-11-08 12:00:36 -05:00
Seth Vargo
44ae44c257
Update dependencies and tweak README (#237) 2022-11-08 11:20:52 -05:00
Seth Vargo
60569fa4c7
Clarify docs 2022-11-04 15:12:05 -04:00
Seth Vargo
c06176fb62
Document that WIF is supported for gsutil and bq now (#213) 2022-08-17 16:26:52 -07:00
Seth Vargo
acd8a2b487
Document how GitHub secrets work (#208)
Fixes #207
2022-08-08 08:46:38 -07:00
Daz Wilkin
8609d2cff4
r/an/and (#205)
Signed-off-by: Daz Wilkin <DazWilkin@users.noreply.github.com>
2022-07-18 11:56:21 -04:00
Seth Vargo
d394832e06
docs: clarify that token properties don't extend beyond the action (#204) 2022-07-06 12:12:08 -04:00
Seth Vargo
f322a0d1e2
fix: only emit warning if the lifetime exceeds 1 hour 2022-05-16 09:48:11 -04:00
Seth Vargo
9adccd9156
docs: add link to gsutil issue about WIF support 2022-04-19 10:58:13 -04:00
Seth Vargo
e426d954f6
chore: update references to setup-gcloud@master -> setup-gcloud@main (#162) 2022-04-05 09:44:37 -05:00
Seth Vargo
d16fd896f7
feat: allow opt-out of exporting environment variables (#157)
This allows users to opt-out of exporting environment variables. This might be helpful if they **don't** want future steps to be authenticated, or if the exported environment variables conflict with other values.
2022-03-24 16:02:18 -05:00
Seth Vargo
e9ca24f3e2
docs: add a node about node16 on self-hosted runners (#149) 2022-03-08 10:24:24 -05:00
Koichi Shiraishi
db6919d074
Update actions/checkout to v3 (#148)
* chore: update actions/checkout to v3

Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>

* chore: update docs to actions/checkout@v3

Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
2022-03-08 10:18:30 -05:00
SHIMADA Kento
65963dbda5
doc: fix registry name example for GAR (#143) 2022-02-25 12:56:50 -05:00
Charles Sullivan
3fbe03175e
doc: Fix token_format in readme. (#138)
https://github.com/google-github-actions/auth/blob/main/action.yml#L136-L139
2022-02-14 11:37:07 -06:00
Seth Vargo
48c46e6a59
feat: ensure cred file is created with a predictable name (#130) 2022-02-03 11:57:50 -06:00
Seth Vargo
3b7fb59565
docs: add gar and gcr example (#128) 2022-02-03 14:30:22 +00:00
Seth Vargo
b6d69ec4d4
doc: add troubleshooting section (#127) 2022-02-03 02:19:28 -06:00
Seth Vargo
983a037dfb
feat: emit a warning when the workspace is empty (#117)
There have been a number of GitHub issues recently due to users not adding actions/checkout before calling "auth", which makes the credentials unavailable to future steps. Worse, some people are putting checkout _after_ auth, which overwrites the generated credentials with a checkout of the repo.

This adds a feature that emits a warning with the workspace is empty.
2022-01-26 15:27:51 -05:00
Seth Vargo
88fbfac1f6
docs: note checkout must come first 2022-01-22 14:41:04 -05:00
Tautvydas Versockas
1261433f2b
Replace single quotes with double quotes in README (#108) 2022-01-17 16:25:00 +00:00
Seth Vargo
2c3f0ad713
Add note about gcloud version 2022-01-11 11:41:30 -05:00