5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-08 15:46:56 +00:00

test commit

This commit is contained in:
Kevin Schoonover 2023-11-05 13:09:51 -08:00
parent 2e4d53b28d
commit 4f749bbbd2
4 changed files with 19658 additions and 253 deletions

View file

@ -89,10 +89,14 @@ inputs:
secretEncodingType: secretEncodingType:
description: 'The encoding type of the secret to decode. If not specified, the secret will not be decoded. Supported values: base64, hex, utf8' description: 'The encoding type of the secret to decode. If not specified, the secret will not be decoded. Supported values: base64, hex, utf8'
required: false required: false
revokeKey:
description: 'When set to true, automatically revokes the vault token after the run is complete.'
default: "false"
required: false
runs: runs:
using: 'node16' using: 'node16'
main: 'dist/index.js' main: 'dist/index.js'
post: "dist/cache-save/index.js" post: "dist/revoke/index.js"
branding: branding:
icon: 'unlock' icon: 'unlock'
color: 'gray-dark' color: 'gray-dark'

525
dist/index.js vendored

File diff suppressed because one or more lines are too long

19362
dist/revoke/index.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -4,7 +4,7 @@
"description": "A Github Action that allows you to consume vault secrets as secure environment variables.", "description": "A Github Action that allows you to consume vault secrets as secure environment variables.",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
"build": "ncc build src/entry.js -o dist", "build": "ncc build src/entry.js -o dist && ncc build src/revoke.js -o dist/revoke",
"test": "jest", "test": "jest",
"test:integration:basic": "jest -c integrationTests/basic/jest.config.js", "test:integration:basic": "jest -c integrationTests/basic/jest.config.js",
"test:integration:enterprise": "jest -c integrationTests/enterprise/jest.config.js", "test:integration:enterprise": "jest -c integrationTests/enterprise/jest.config.js",