Skip to content
New issue

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

Replace azure_rm_keyvaultsecret_info with approved one #49

Closed
imjoseangel opened this issue Feb 23, 2020 · 0 comments · Fixed by #50
Closed

Replace azure_rm_keyvaultsecret_info with approved one #49

imjoseangel opened this issue Feb 23, 2020 · 0 comments · Fixed by #50

Comments

@imjoseangel
Copy link
Contributor

SUMMARY
ISSUE TYPE
  • Introduce azure_rm_keyvaultsecret_info
COMPONENT NAME

azure_rm_keyvaultsecret_info.py

ADDITIONAL INFORMATION
- name: Get secret current version
  azure_rm_keyvaultsecret_info:
    vault_uri: https://vault{{ rpfx }}.vault.azure.net
    name: testsecret
  register: facts

- name: Assert secret facts
  assert:
    that:
      - facts['secrets'] | length == 1
      - facts['secrets'][0]['sid']
      - facts['secrets'][0]['secret']
      - facts['secrets'][0]['tags']
      - facts['secrets'][0]['version']
ANSIBLE VERSION

2.10

Yaish25491 pushed a commit to Yaish25491/azure-ansible-collection that referenced this issue Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant