Skip to content

smrqdt/vault-token-helper-secret-tool

 
 

Repository files navigation

vault-token-helper-secret-tool pre-commit.ci status

A HashiCorp Vault token helper in a few lines of POSIX shell code, using libsecret's secret-tool.

Usage

Clone this repo or install the script somewhere some other way, run it with the enable argument:

./vault-token-helper-secret-tool enable

Multiple Vault clusters

Operates on the entry associated with the current VAULT_ADDR environment variable. If unset, a default token slot will be used.

Alternatives, credits

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.

License

SPDX-License-Identifier: Apache-2.0

About

@hashicorp Vault token helper using secret-tool / libsecret

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%