mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 10:27:34 -02:30
[credential_plugin/hashivault] fix typo
This commit is contained in:
@@ -152,7 +152,7 @@ def kv_backend(**kwargs):
|
|||||||
|
|
||||||
sess = requests.Session()
|
sess = requests.Session()
|
||||||
sess.headers['Authorization'] = 'Bearer {}'.format(token)
|
sess.headers['Authorization'] = 'Bearer {}'.format(token)
|
||||||
# Compatability header for older installs of Hashicorp Vault
|
# Compatibility header for older installs of Hashicorp Vault
|
||||||
sess.headers['X-Vault-Token'] = token
|
sess.headers['X-Vault-Token'] = token
|
||||||
|
|
||||||
if api_version == 'v2':
|
if api_version == 'v2':
|
||||||
|
|||||||
Reference in New Issue
Block a user