Richard Simpson
25885cbbc9
feat: add generic auth
...
Adds the ability to authenticate against any normal Vault endpoint by added the uthPayload input.
When an unrecognized method is provided, the action will attempt to hit 1/auth/<method>/login with the provided uthPayload and parse out the token in the response
2020-04-04 12:55:25 -05:00
Richard Simpson
ed8303ca53
fix: fix got not being use correctly and path prefix
2020-03-31 12:15:30 -05:00
Richard Simpson
0e719ef42a
chore: compile release
2020-03-31 12:01:15 -05:00
Richard Simpson
4ab6f6070f
fix: release new action bundle
2020-03-11 14:02:39 -05:00
Richard Simpson
bef2eb0b90
feat: add the ability to set extra headers ( #27 )
...
* feat: add the ability to set extra headers
* switch to more generic map solution for headers
2020-03-11 14:02:13 -05:00
Richard Simpson
ec10b5e257
feat: add ability to retrieve secrets via ouputs
2020-02-20 11:13:47 -06:00
Richard Simpson
7d1d7d26ad
fix(build): bump build file
2020-02-20 01:48:49 -06:00
Richard Simpson
0188d9d223
feat: add support for (nearly) any engine ( #15 )
...
* feat: add support for (nearly) any engine
* cache response and fixup data depth logic
* use starting slash as non-kv sentinel value
* add tests for custom engines
* improve docs and add descriptor of generic support
* update dist
2020-02-05 16:33:12 -06:00
Giancarlo França
f229481670
feat: support for KV version 1 and custom-named engines ( #12 )
...
* feat: kv v1 and engine path
* doc: add custom version and engine path usage docs
Co-authored-by: Richard Simpson <richardsimpson@outlook.com>
2020-02-04 09:40:55 -06:00
Antoine Méausoone
3b9239de79
feat(authenticate): add approle auth method ( #10 )
...
* feat(authenticate): add approle auth method
* docs(readme): update readme
* fix: update index.js
* fix: update got to 10.2.2 to fix ncc
* chore: clean up code slightly
* chore: update tests to use got correctly
* chore(test): fix integration tests
* chore: streamline method logic
* chore: make role and secret required in approle
Co-authored-by: Sébastien FAUVART <sebastien.fauvart@gmail.com>
Co-authored-by: Richard Simpson <richardsimpson@outlook.com>
2020-01-28 19:10:19 -06:00
Richard Simpson
ab4dc55b2e
fix: actually build namespace changes
2020-01-09 10:31:15 -06:00
Richard Simpson
da9a93f3f5
fix: package action ( #3 )
...
Package action output per github docs.
2019-10-15 14:00:01 -05:00