Skip to main content

Keeper Secrets Manager Ansible

Overview

This module contains plugins that allow your Ansible automations to use Keeper Secrets Manager.

  • keeper_copy - Similar to ansible.builtin.copy. Uses the KSM vault for the ource/content.
  • keeper_get - Retrieve secrets from a record.
  • keeper_set - Update an existing record from Ansible information.
  • keeper_lookup - Retrieve secrets from a record using Ansible's lookup.

The full documentation can be found on GitBook.

Quick Start

Install, or update, the module.

$ pip install -U keeper-secrets-manager-ansible

Create a configuration file.

$ cd /path/to/your/ansible/root
$ keeper_ansible --keeper_token XXXX
Config file created at location client-config.json

Get plugins directory paths.

$ keeper_ansible --config

# Below are the directory paths to action and lookup plugins.
ANSIBLE_ACTION_PLUGINS=.../site-packages/keeper_secrets_manager_ansible/plugins/action_plugins
ANSIBLE_LOOKUP_PLUGINS=.../site-packages/keeper_secrets_manager_ansible/plugins/lookup_plugins

Either copy the paths into your ansible.cfg.

[defaults]
action_plugins = ../site-packages/keeper_secrets_manager_ansible/plugins/action_plugins
lookup_plugins = .../site-packages/keeper_secrets_manager_ansible/plugins/lookup_plugins

Or do some DevOps magic

$ export $(keeper_ansible --config)

Use some plugins in your playbooks tasks or roles. See full documentation for examples.

Then run your playbook.

$ ansible-playbook my_playbook.yml

Download files

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

Source Distribution

keeper-secrets-manager-ansible-0.0.7.tar.gz (8.7 kB view details)

Uploaded Source

File details

Details for the file keeper-secrets-manager-ansible-0.0.7.tar.gz.

File metadata

  • Download URL: keeper-secrets-manager-ansible-0.0.7.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.0

File hashes

Hashes for keeper-secrets-manager-ansible-0.0.7.tar.gz
Algorithm Hash digest
SHA256 233e8235b8d9d1aaa8df552e8a958d1b5911865ad0e4b88abee5f03026b91139
MD5 242a5b95fedac649b9f0afaf6a1d0f5f
BLAKE2b-256 091e2e326f2648e9ca2af5bb6e49172798a6d4393d6babc605c64fdf79db803b

See more details on using hashes here.

Release history Release notifications | RSS feed

1.4.0

1 file

1.3.0

1 file

1.2.6

1 file

1.2.5

1 file

1.2.4

1 file

1.2.3

1 file

1.2.2

1 file

1.2.1

1 file

1.2.0

1 file

1.1.5

1 file

1.1.4

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

1.0.0

1 file

0.0.8

1 file

This release

0.0.7 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page