Ansible Modules for Hashicorp Vault
Project description
Ansible modules for Hashicorp Vault.
Usage
The following example writes the giant secret with two values and then reads the fie value:
--- - hosts: localhost tasks: - hashivault_write: secret: giant data: foo: foe fie: fum - hashivault_read: secret='giant' key='fie' register='fie' - debug: msg="Value is {{fie.value}}"
If you are not using the VAULT_ADDR and VAULT_TOKEN environment variables, you may be able to simplify your playbooks with an action plugin. This can be some somewhat similar to this example action plugin.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ansible-modules-hashivault-1.1.5.tar.gz
.
File metadata
- Download URL: ansible-modules-hashivault-1.1.5.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32a33467f1e6d75e6ca8d354424a7fe058c73d1903105f0413d2675227df8c93 |
|
MD5 | 3353fc01595d21853f5eab6d563c516e |
|
BLAKE2b-256 | 541a73c5900676e63a3293e80dcf09879f42ce9d1e23e0c6b53022d2d6d6d37d |