mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-14 18:13:45 +00:00
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
10 lines
No EOL
246 B
JavaScript
10 lines
No EOL
246 B
JavaScript
const core = require('@actions/core');
|
|
const { exportSecrets } = require('./action');
|
|
|
|
(async () => {
|
|
try {
|
|
await core.group('Get Vault Secrets', exportSecrets);
|
|
} catch (error) {
|
|
core.setFailed(error.message);
|
|
}
|
|
})(); |