Commit Graph

10 Commits

Author SHA1 Message Date
Seth Vargo
2f0b4dbd9b
Add support for specifying authentication via JSON service account keys (#37)
* Add support for specifying authentication via JSON service account keys

* Update README.md

Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>

* Update README.md

Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>

* Update README.md

Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>

* Review feedback

* Undo interface

* Use TokenCreator instead

Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>
2021-11-08 17:13:59 -05:00
Bharath KKB
d5a354ef10
chore: refactor WIF (#33)
* define common interfaces

* common base client

* refactor WIF to use interfaces and base client

* refactor main

* add build in CI

* add name for build step

* address comments

* fix import

* interface for credfile return

* regen dist
2021-10-12 23:17:42 -04:00
Seth Vargo
3fe2a3779a
Expand error message when GitHub envvars are not present (#31)
This points people to the GitHub Actions permissions documentation, which will help with troubleshooting token permission errors.
2021-10-06 11:26:23 -07:00
Seth Vargo
f3c3e206c9
Default audience to the WIF provider ID (#23) 2021-10-04 09:14:08 -07:00
Seth Vargo
fb26879445
Update references to google now (#8) 2021-09-21 19:30:30 -04:00
Seth Vargo
febe21311b
Add the ability to generate and export a credentials file (#7)
This credentials file can be passed to gcloud or other Google Cloud SDKs to automatically do the exchange.
2021-09-21 18:10:27 -04:00
Seth Vargo
cb396c3f31
Refactor to support access and id tokens (#3) 2021-09-18 12:12:21 -04:00
Bharath KKB
afef6a5b6d
feat: use actions/core for getting gh OIDC token (#2)
Co-authored-by: Seth Vargo <seth@sethvargo.com>
2021-09-18 11:35:52 -04:00
Yuki Furuyama
e13dfdd573
Support ID Token generation (#1)
* Support id token generation

* Fix id_token_audience validation

* Add id_token_audience to test workflow

* Generate dist/index.js for id token support
2021-09-18 11:34:46 -04:00
Seth Vargo
688a7bd017
Initial commit 2021-09-16 12:54:29 -04:00