Tom Proctor
e3eff1b249
Set default role, stop mocks conflicting across tests, cache generated test JWT
2022-04-07 15:29:19 +01:00
Kamil Domański
4bd533450e
make "role" input optional
...
Per Vault documentation it doesn't have to be provided,
and the auth provider's "default_role" parameter is required
precisely for this case.
https://www.vaultproject.io/api/auth/jwt
2022-04-07 03:45:45 +02:00
Alex Kulikovskikh
c502100fbe
feat(): add support for github provided jwt auth ( #257 )
...
* fix: update `privateKeyRaw` condition
* fix: add `contents: read` permission
* fix: get token via `@actions/core`
- Update README
- Switch to use `getIDToken` method for Github token retrieval
- Bump `@actions/core` to 1.6.0
- Add `jwtGithubAudience` input
- Remove unnecessary code
* fix: add description for `jwtGithubAudience`
* fix: move default value for `jwtGithubAudience` to `action.yml`
* docs: fix typo in README & grammar
* test: add tests
* fix: reset `dist/index.js`
* fix: remove default value for `jwtGithubAudience` from `action.yml`
* fix: reset `dist/index.js`
* fix: reset `dist/index.js`
2021-10-08 09:46:21 -07:00
Raman Harnak
9e8f22534f
Implement JWT auth ( #188 )
2021-05-04 08:49:35 -04:00