Buildenv-Tool icon indicating copy to clipboard operation
Buildenv-Tool copied to clipboard

Feature: Add Vault Auth as a flag

Open reskin89 opened this issue 1 year ago • 2 comments

It would be nice to have a flag to allow buildenv to fetch a vault token/auth to vault when invoked

reskin89 avatar Oct 24 '24 17:10 reskin89

@reskin89 - do you mean to add an authN option to buildenv cli, something like buildenv login -url=?

vorbidan avatar Oct 24 '24 17:10 vorbidan

Something such as -a OPTIONS, so if you don't have a vault token you can acquire one via either oidc or with a role and secret id as with an app role.

This would allow a short lived (2 minute?) token for the duration of the buildenv invocation.

Essentially fetch a token for the invocation of buildenv, and I guess potentially, decom the token at the end

reskin89 avatar Oct 24 '24 17:10 reskin89