mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 22:18:01 -03:30
fix the hashivault v2 lookup
This commit is contained in:
parent
4fb055345d
commit
764947c1ae
@ -89,7 +89,6 @@ def kv_backend(**kwargs):
|
||||
params['version'] = kwargs['secret_version']
|
||||
try:
|
||||
mount_point, *path = pathlib.Path(secret_path.lstrip(os.sep)).parts
|
||||
'/'.join(*path)
|
||||
except Exception:
|
||||
mount_point, path = secret_path, []
|
||||
# https://www.vaultproject.io/api/secret/kv/kv-v2.html#read-secret-version
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user