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
In ansible-collections/community.general#902 I replaced/added env vars prefixed by VAULT_ to solve the underlying issue, however thinking about that after the fact has led to #10 .
I'm proposing the following:
The VAULT_TOKEN_FILE and VAULT_TOKEN_PATH env vars will be deprecated in v0.2.0 and removed in v2.0.0.
The ANSIBLE_HASHI_VAULT_TOKEN_FILE and ANSIBLE_HASHI_VAULT_TOKEN_PATH vars will be added in v0.2.0
The VAULT_ variants will not be preserved, as they are not currently in use by the Vault CLI for this (or any) purpose; future use would conflict and this should be avoided.
⚠This is a breaking change
📝Impact Notes:
Affects users who use VAULT_ prefixed environment variables which are available in the following collections and versions:
community.general version 0.2.0 and above
community.hashi_vault version 0.1.0
Does not affect anyone using INI or direct parameter setting
ISSUE TYPE
Feature Idea
COMPONENT NAME
hashi_vault.py
ADDITIONAL INFORMATION
The text was updated successfully, but these errors were encountered:
- Remove `VAULT_TOKEN_FILE` and `VAULT_TOKEN_PATH` env vars
- Add `ANSIBLE_HASHI_VAULT_TOKEN_FILE` and `ANSIBLE_HASHI_VAULT_TOKEN_PATH` env vars
- Resolvesansible-collections#15
- Remove `VAULT_TOKEN_FILE` and `VAULT_TOKEN_PATH` env vars
- Add `ANSIBLE_HASHI_VAULT_TOKEN_FILE` and `ANSIBLE_HASHI_VAULT_TOKEN_PATH` env vars
- Resolvesansible-collections#15
SUMMARY
See #10
In ansible-collections/community.general#902 I replaced/added env vars prefixed by
VAULT_
to solve the underlying issue, however thinking about that after the fact has led to #10 .I'm proposing the following:
VAULT_TOKEN_FILE
andVAULT_TOKEN_PATH
env vars will be deprecated in v0.2.0 and removed in v2.0.0.ANSIBLE_HASHI_VAULT_TOKEN_FILE
andANSIBLE_HASHI_VAULT_TOKEN_PATH
vars will be added in v0.2.0VAULT_
variants will not be preserved, as they are not currently in use by the Vault CLI for this (or any) purpose; future use would conflict and this should be avoided.⚠This is a breaking change
📝Impact Notes:
VAULT_
prefixed environment variables which are available in the following collections and versions:community.general
version0.2.0
and abovecommunity.hashi_vault
version0.1.0
ISSUE TYPE
COMPONENT NAME
hashi_vault.py
ADDITIONAL INFORMATION
The text was updated successfully, but these errors were encountered: