Richard Simpson
83d944ba1a
fix: actually allow custom methods
2020-04-07 12:14:02 -05:00
Richard Simpson
567ec72c33
fix: document custom authentication method
2020-04-07 12:09:06 -05:00
Richard Simpson
5c464962be
feat: add generic auth ( #39 )
...
* feat: add generic auth
Adds the ability to authenticate against any normal Vault endpoint by added the `authPayload` input.
When an unrecognized method is provided, the action will attempt to hit `v1/auth/<method>/login` with the provided `authPayload and parse out the token in the response
2020-04-04 13:19:48 -05:00
dependabot-preview[bot]
ea29244204
chore(deps): [security] bump minimist from 1.2.0 to 1.2.5 ( #38 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.0 to 1.2.5. **This update includes security fixes.**
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-03 20:49:29 -05:00
Richard Simpson
5de02d5a14
docs: fix type
2020-04-03 12:34:34 -05:00
Richard Simpson
8845b5c724
docs: Actually mark required as required
2020-04-03 12:33:08 -05:00
Richard Simpson
c80d0b130c
docs: Clean up output a bit
2020-04-03 12:30:03 -05:00
Richard Simpson
01bb0f9bc9
docs: add reference
2020-04-03 12:24:42 -05:00
dependabot-preview[bot]
5a70924133
chore(deps-dev): bump semantic-release from 15.13.24 to 17.0.4 ( #18 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 15.13.24 to 17.0.4.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v15.13.24...v17.0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-03 11:00:18 -05:00
dependabot-preview[bot]
b5fdbf352b
chore(deps-dev): bump jest-when from 2.7.0 to 2.7.1 ( #34 )
...
Bumps [jest-when](https://github.com/timkindberg/jest-when ) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/timkindberg/jest-when/releases )
- [Commits](https://github.com/timkindberg/jest-when/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-03 10:53:49 -05:00
dependabot-preview[bot]
268a32f886
chore(deps-dev): bump @types/jest from 25.1.4 to 25.1.5 ( #36 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 25.1.4 to 25.1.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-03 10:53:43 -05:00
dependabot-preview[bot]
f2b4d0b645
chore(deps-dev): bump jest from 25.2.1 to 25.2.7 ( #37 )
...
Bumps [jest](https://github.com/facebook/jest ) from 25.2.1 to 25.2.7.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v25.2.1...v25.2.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-03 10:53:38 -05:00
Richard Simpson
675d33e3da
docs: add note about exportEnv option
2020-04-03 10:52:40 -05:00
Richard Simpson
50ece41861
chore: I really should PR changes
2020-03-31 12:20:05 -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
795c9eddca
feat: add github auth and cleanup docs a little
...
Adds the GitHub Authentication method
2020-03-31 11:56:54 -05:00
dependabot-preview[bot]
9e8c0bad27
chore(deps): bump got from 10.6.0 to 10.7.0 ( #30 )
...
Bumps [got](https://github.com/sindresorhus/got ) from 10.6.0 to 10.7.0.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v10.6.0...v10.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-26 14:47:12 -05:00
dependabot-preview[bot]
751a3d19ad
chore(deps-dev): bump jest from 25.1.0 to 25.2.1 ( #31 )
...
Bumps [jest](https://github.com/facebook/jest ) from 25.1.0 to 25.2.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v25.1.0...v25.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-26 14:47:05 -05:00
dependabot-preview[bot]
cc7ceeef06
chore(deps-dev): bump @zeit/ncc from 0.21.1 to 0.22.0 ( #29 )
...
Bumps [@zeit/ncc](https://github.com/zeit/ncc ) from 0.21.1 to 0.22.0.
- [Release notes](https://github.com/zeit/ncc/releases )
- [Commits](https://github.com/zeit/ncc/compare/0.21.1...0.22.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-24 10:52:12 -05:00
dependabot-preview[bot]
fa23030c10
chore(deps): [security] bump acorn from 6.4.0 to 6.4.1 ( #28 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 6.4.0 to 6.4.1. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-13 20:07:36 -05:00
Richard Simpson
4561f9e26e
docs: fix typo and clarify masking
2020-03-11 14:16:21 -05:00
Richard Simpson
cb2908ac94
docs: promote non-key syntax sections
2020-03-11 14:12:53 -05:00
Richard Simpson
198a7ed7d2
docs: add headers docs and toc
2020-03-11 14:11:13 -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
dependabot-preview[bot]
0ece1da433
chore(deps-dev): bump @types/jest from 25.1.3 to 25.1.4 ( #26 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 25.1.3 to 25.1.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-10 16:25:50 -05:00
dependabot-preview[bot]
7fb0d673d1
chore(deps): bump @actions/core from 1.2.2 to 1.2.3 ( #25 )
...
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/actions/toolkit/releases )
- [Changelog](https://github.com/actions/toolkit/blob/master/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-04 10:20:55 -06:00
Richard Simpson
4edbc9a77a
chore: fix step output syntax
2020-02-20 11:38:11 -06:00
Richard Simpson
5357098084
fix(tests): fix unit tests and improve e2e
2020-02-20 11:24:04 -06:00
dependabot-preview[bot]
3dfe7ff808
chore(deps): bump got from 10.5.7 to 10.6.0
...
Bumps [got](https://github.com/sindresorhus/got ) from 10.5.7 to 10.6.0.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v10.5.7...v10.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 17:14:12 +00:00
dependabot-preview[bot]
1049321b7a
chore(deps-dev): bump @types/jest from 24.0.18 to 25.1.3
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 24.0.18 to 25.1.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 17:14:05 +00: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
dependabot-preview[bot]
f9753d75ef
chore(deps-dev): bump jest from 24.9.0 to 25.1.0
...
Bumps [jest](https://github.com/facebook/jest ) from 24.9.0 to 25.1.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v24.9.0...v25.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 07:45:21 +00:00
Richard Simpson
11b4c03a67
fix(deps): fix comma issue in export variables
2020-02-20 01:43:53 -06:00
dependabot-preview[bot]
bd26be00ff
chore(deps): bump @actions/core from 1.1.1 to 1.2.2
...
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 1.1.1 to 1.2.2.
- [Release notes](https://github.com/actions/toolkit/releases )
- [Changelog](https://github.com/actions/toolkit/blob/master/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 07:42:55 +00:00
dependabot-preview[bot]
452a071f5c
chore(deps): bump got from 10.2.2 to 10.5.7
...
Bumps [got](https://github.com/sindresorhus/got ) from 10.2.2 to 10.5.7.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v10.2.2...v10.5.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 07:41:41 +00:00
dependabot-preview[bot]
a11e5a2e84
chore(deps-dev): bump @zeit/ncc from 0.20.5 to 0.21.1
...
Bumps [@zeit/ncc](https://github.com/zeit/ncc ) from 0.20.5 to 0.21.1.
- [Release notes](https://github.com/zeit/ncc/releases )
- [Commits](https://github.com/zeit/ncc/compare/0.20.5...0.21.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 07:41:00 +00:00
dependabot-preview[bot]
7f552b0d14
chore(deps): [security] bump https-proxy-agent from 2.2.2 to 2.2.4
...
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent ) from 2.2.2 to 2.2.4. **This update includes security fixes.**
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases )
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.2...2.2.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 07:39:46 +00:00
Richard Simpson
20f954e024
chore: add place to buy me a coffee ☕
2020-02-06 09:19:22 -06:00
Richard Simpson
a884aa8e59
docs: clarify other engine support.
2020-02-05 16:37:16 -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
7a9634236c
chore(build): re-enable builds on PR and restrict publish to master
2020-01-09 10:45:52 -06:00
Richard Simpson
ab4dc55b2e
fix: actually build namespace changes
2020-01-09 10:31:15 -06:00
dependabot[bot]
e394527e23
chore(deps): bump handlebars from 4.2.1 to 4.5.3 ( #9 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.2.1 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.1...v4.5.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-29 21:04:07 -06:00
dependabot[bot]
29150a8fd2
chore(deps): bump npm from 6.11.3 to 6.13.4 ( #8 )
...
Bumps [npm](https://github.com/npm/cli ) from 6.11.3 to 6.13.4.
- [Release notes](https://github.com/npm/cli/releases )
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md )
- [Commits](https://github.com/npm/cli/compare/v6.11.3...v6.13.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-13 13:56:22 -06:00
Richard Simpson
38c189f087
chore(test): organize tests a bit better ( #7 )
...
* chore(test): organize tests a bit better
* add caching
2019-11-24 16:00:31 -06:00