You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proposal then is to add an Ansible-specific env var and lower the precedence of the existing one:
Add ANSIBLE_HASHI_VAULT_TOKEN in env: in spec
Process VAULT_TOKEN as a fallback if the option is not set directly or via spec-defined env
🎗this parameter already has another fallback action, which is to try to infer its value via the token_file and token_path parameters. This will remain, and it will still have lower precedence than the VAULT_TOKEN env var. This preserves the existing relative relationship.
ℹThis is not a breaking change
existing ways of specifying the value keep their relative precedence, and the new env var didn't exist previously
ISSUE TYPE
Feature Idea
COMPONENT NAME
ADDITIONAL INFORMATION
The text was updated successfully, but these errors were encountered:
* Update argspec for 'namespace' parameter #14
- Add `ANSIBLE_HASHI_VAULT_NAMESPACE` env var to argspec
- Move `VAULT_NAMESPACE` env var to `LOW_PRECEDENCE_ENV_VAR_OPTIONS`
- Add new INI option for `namespace`
* Update token parameter handling #16
- Add `ANSIBLE_HASHI_VAULT_TOKEN` env var in argspec
- Move `VAULT_TOKEN` env var to `LOW_PRECEDENCE_ENV_VAR_OPTIONS`
* Add changelog fragment for #25
* Add issue URL to changelog fragment
SUMMARY
See #10
VAULT_TOKEN
is a Vault CLI env var.The proposal then is to add an Ansible-specific env var and lower the precedence of the existing one:
ANSIBLE_HASHI_VAULT_TOKEN
inenv:
in specVAULT_TOKEN
as a fallback if the option is not set directly or via spec-defined envtoken_file
andtoken_path
parameters. This will remain, and it will still have lower precedence than theVAULT_TOKEN
env var. This preserves the existing relative relationship.ℹThis is not a breaking change
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION
The text was updated successfully, but these errors were encountered: