hashivault_approle_role_secret – Hashicorp Vault approle role secret id manager¶
New in version 4.0.0.
Requirements¶
The below requirements are needed on the host that executes this module.
hvac>=0.10.1
ansible>=2.0.0
requests
Parameters¶
Examples¶
---
- hosts: localhost
tasks:
- hashivault_approle_role_secret:
name: ashley
state: present
register: vault_approle_role_secret_create
- debug: msg="Role secret id is {{vault_approle_role_secret_create.id}}"
- hosts: localhost
tasks:
- hashivault_approle_role_secret:
name: robert
state: present
secret: '{{ lookup("password", "/dev/null length=32 chars=ascii_letters,digits") }}'
register: vault_approle_role_custom_secret_create
- debug: msg="Role custom secret id is {{vault_approle_role_custom_secret_create.id}}"
Status¶
This module is guaranteed to have backward compatible interface changes going forward. [stableinterface]
This module is maintained by the Ansible Community. [community]
Authors¶
UNKNOWN
Hint
If you notice any issues in this documentation, you can edit this document to improve it.