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
Azure KV secret module should be able to recover deleted secret but throwing error instead Basically following the module example:
- name: Recover a delete secret azure_rm_keyvaultsecret: secret_name: MySecret keyvault_uri: https://contoso.vault.azure.net/ recover_if_need: true
Process tested in Postman with the same access credentials is able to recover the secret
azure.azcollection.azure_rm_keyvaultsecret
2.17.7
Collection Version ------------------ ------- azure.azcollection 3.1.0
- name: Recover deleted secret azure.azcollection.azure_rm_keyvaultsecret: cert_validation_mode: validate client_id: "{{ az_client_id }}" secret: "{{ az_client_secret }}" tenant: "{{ az_tenant_id }}" subscription_id: "{{ az_subscription_id }}" secret_name: MT-TEST03 keyvault_uri: "{{ az_vault_uri }}" recover_if_need: true
Secret MT-TEST03 recovered
error in task execution
fatal: [localhost]: FAILED! => {"changed": false, "msg": "state is present but all of the following are missing: secret_value"}
The text was updated successfully, but these errors were encountered:
@markatdxb This is a constraint made in the module that I removed in #1810. Thank you!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
SUMMARY
Azure KV secret module should be able to recover deleted secret but throwing error instead
Basically following the module example:
Process tested in Postman with the same access credentials is able to recover the secret
ISSUE TYPE
COMPONENT NAME
azure.azcollection.azure_rm_keyvaultsecret
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
Secret MT-TEST03 recovered
ACTUAL RESULTS
error in task execution
The text was updated successfully, but these errors were encountered: