A HashiCorp Vault token
helper in a
few lines of POSIX shell code, using
libsecret's
secret-tool
.
Clone this repo or install the script somewhere some other way, run it
with the enable
argument:
./vault-token-helper-secret-tool enable
Operates on the entry associated with the current VAULT_ADDR
environment variable. If unset, a default token slot will be used.
Inspired by joemiller/vault-token-helper, but much smaller and simpler. For something more elaborate than this one, as well as for support for other store backends besides what libsecret works with, that'd be one alternative to look into.
Adapted from [scop/vault-token-helper-secret-tool](https://github.com/scop/vault-token-helper-secret-tool] to use $VAULT_ADDR
.
SPDX-License-Identifier: Apache-2.0