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
File details
Details for the file keeper-secrets-manager-ansible-0.0.8.tar.gz.
File metadata
- Download URL: keeper-secrets-manager-ansible-0.0.8.tar.gz
- Upload date:
- Size: 8.8 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e23e19daa9bfa73df7955cd292c6961dfaf491143b0c447f453d71e4a8510e5
|
|
| MD5 |
67823d212bd7ccaf03668654560674d3
|
|
| BLAKE2b-256 |
3502fff7a2a5b9a82ec092b2a0af7b85f52dd1402bf237c53f17a44a595b7608
|