Skip to main content

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

This version

2.3.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansible-modules-hashivault-2.3.0.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file ansible-modules-hashivault-2.3.0.tar.gz.

File metadata

File hashes

Hashes for ansible-modules-hashivault-2.3.0.tar.gz
Algorithm Hash digest
SHA256 de6444109c7c36d6d89db7ec93b1e962a5b40bab41c65ae410583c0790a85835
MD5 93791b18d945d3acb9dd7d51f8fb3216
BLAKE2b-256 16b0dff4d057ed7f6f1365c3522367e7246ef60c3f4060aabf7fa939cd992e5b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page