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
VAULT_NAMESPACE is an environment variable used by the Vault CLI. I'm proposing the following change:
Add ANSIBLE_HASHI_VAULT_NAMESPACE to env: in spec
Add INI value as well
Process VAULT_NAMESPACE as a fallback to populate the option when it hasn't been set via any other means.
ℹ This change is not breaking because lowering the precedence of the existing env var doesn't raise any existing value's precedence (there's no other env var or INI value currently).
ISSUE TYPE
Feature Request
COMPONENT NAME
hashi_vault.py
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered:
- 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 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_NAMESPACE
is an environment variable used by the Vault CLI. I'm proposing the following change:ANSIBLE_HASHI_VAULT_NAMESPACE
toenv:
in specVAULT_NAMESPACE
as a fallback to populate the option when it hasn't been set via any other means.ℹ This change is not breaking because lowering the precedence of the existing env var doesn't raise any existing value's precedence (there's no other env var or INI value currently).
ISSUE TYPE
COMPONENT NAME
hashi_vault.py
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: