We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When i try a simple task to get secret from google secret manager i got an unexpected result
ansible [core 2.17.3]
- name: google.cloud version: "1.4.1"
Linux
- name: Test secret using env variables for credentials debug: msg: "secret : {{ lookup('google.cloud.gcp_secret_manager', key='projects/xxx/my_secret', auth_kind='machineaccount', version='1') }}"
Get my secret value
fatal: [project]: FAILED! => {"msg": "An unhandled exception occurred while running the lookup plugin 'google.cloud.gcp_secret_manager'. Error was a <class 'requests.exceptions.JSONDecodeError'>, original message: Expecting value: line 1 column 1 (char 0). Expecting value: line 1 column 1 (char 0)"}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SUMMARY
When i try a simple task to get secret from google secret manager i got an unexpected result
ISSUE TYPE
ANSIBLE VERSION
COLLECTION VERSION
OS / ENVIRONMENT
Linux
STEPS TO REPRODUCE
EXPECTED RESULTS
Get my secret value
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: