Keeper Secrets Manager plugins for Ansible.
Project description
Keeper Secrets Manager Ansible
This module contains plugins that allow your Ansible automations to use Keeper Secrets Manager.
keeper_cache_records- Generate a cache to use with other actions.keeper_copy- Similar toansible.builtin.copy. Uses the KSM vault for the source/content.keeper_get- Retrieve secrets from a record.keeper_get_record- Retrieve records as a dictionary.keeper_set- Update an existing record from Ansible information.keeper_init- Initialize a KSM configuration from a one-time access token.keeper_cleanup- Remove the cache file, if being used.keeper_lookup- Retrieve secrets from a record using Ansible's lookup.keeper_redact- Stdout Callback plugin to redact secrets from logs.keeper_password- Generate a random password.keeper_info- Display information about plugin, record and field types.keeper_remove- Remove secrets from the Keeper Vault.
For more information see our official documentation page https://docs.keeper.io/secrets-manager/secrets-manager/integrations/ansible-plugin
Changes
1.3.0
- KSM-781: Fixed Jinja2 templating for
keeper_config_fileandkeeper_cache_dirvariables- Variables like
{{ playbook_dir }}/keeper-config.ymlare now resolved before use - Lookup plugins (no action_module) are unaffected
- Variables like
- Security: KSM-762 - Fixed CVE-2026-23949 (jaraco.context path traversal) in SBOM generation workflow
- Upgraded jaraco.context to >= 6.1.0 in SBOM generation workflow
- Build-time dependency only, does not affect runtime or published packages
- KSM-714: Added notes field update support
- Added
NOTEStoKeeperFieldTypeenum - Users can now update record notes via
keeper_settasks withfield_type: notes
- Added
- KSM-768: Added notes field retrieval support
- Added
notesparameter tokeeper_getaction (boolean, default: no) - Users can now retrieve record notes via
keeper_gettasks withnotes: yes - Example:
keeper_get: uid: "XXX" notes: yes
- Added
- KSM-770: Fixed bug in
keeper_getwith notes parameter- Fixed error "Cannot find key True" when using
notes: yeswith empty notes field - Notes field is now properly handled as singleton field (no lookup key required)
- Added edge case test for missing notes field
- Fixed error "Cannot find key True" when using
- KSM-771: Fixed bug in
keeper_copywith notes parameter- Fixed error "Unsupported parameters for copy module: notes" when using
keeper_copywithnotes: yes - Added cleanup of
notesparameter before delegating to Ansible's built-in copy module - Added test for copying notes field to files
- Fixed error "Unsupported parameters for copy module: notes" when using
- KSM-772: Fixed bug in
keeper_setwith notes parameter- Fixed notes field being set to
Noneinstead of the provided value when usingkeeper_setwithnotes: yes - Changed
set_value()method to usevalueparameter instead ofkey(which is None for singleton notes field) - Prevents silent data loss of existing notes content
- Added test for setting notes field values
- Fixed notes field being set to
- KSM-773: Standardized
notesparameter name across all actions (keeper_create,keeper_set,keeper_copy)- Renamed
notetonotesfor consistency across all actions
- Renamed
- KSM-780: Fixed backward compatibility for
noteparameter inkeeper_create- The
note(singular) parameter is now accepted as a deprecated alias fornotes - Playbooks using the old
note:parameter will continue to work with a deprecation warning - The
notealias will be removed in version 2.0.0
- The
- Dependency Update: Updated Python SDK requirement to v17.1.0
- Ensures compatibility with security fixes and latest features
1.2.6
- KSM-672: KSMCache class initializes cache file path before env vars are set. Closes (issue #675)
1.2.5
- Updated plugin structure to support Ansible VS code extension (Ansible VS Code extension)
1.2.4
- Updated pinned KSM SDK version to 16.6.6.
1.2.3
- Updated pinned KSM SDK version to 16.6.4.
1.2.2
- Added action
keeper_get_recordto return record as a dictionary. - Clean up comments.
- Updated pinned KSM SDK version to 16.6.3.
1.2.1
- Added action
keeper_removeto remove secrets from the Keeper Vault - Updated pinned KSM SDK version to 16.6.2.
1.2.0
- Added action
keeper_cache_recordsto cache Keeper Vault records to reduce API calls. - Added ability to get records by title for some actions.
- Added
array_indexandvalue_keyto access individual values in complex values. Alternative tonotation. - Updated pinned KSM SDK version.
1.1.5
- Updated pinned KSM SDK version. The KSM SDK has been updated to use OpenSSL 3.0.7 which resolves CVE-2022-3602, CVE-2022-3786.
1.1.4
- Move check for custom record type in
keeper_createplugin. - Keeper Secret Manager SDK version pinned to 16.3.5 or greater. Allows extra field parameters that come from Keeper Commander.
1.1.3
- Per PEP 263, added
# -*- coding: utf-8 -*-to top of file to prevent errors on system that are not UTF-8.
1.1.2
- Added
keeper_create,keeper_password,keeper_infoaction plugins. - Fixed complex strings not regular expressions escaping properly for
keeper_redact. - Added
keeper_app_owner_public_keyto thekeeper_initplugin configuration generation.keeper_app_owner_public_keyalso added to Ansible variables.
1.1.1
- Fixed misspelled collection name in
README.md
1.1.0
- First Ansible Galaxy release
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 keeper_secrets_manager_ansible-1.3.0.tar.gz.
File metadata
- Download URL: keeper_secrets_manager_ansible-1.3.0.tar.gz
- Upload date:
- Size: 35.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80428cc831e42042bf68ef7990a3aa4755131d301b2edb429b5d73733dc85422
|
|
| MD5 |
d5374c39bf8e4e744be67dd17335e765
|
|
| BLAKE2b-256 |
e69138f7218f228df6443780ba9cef37877c765e48930c915e6d499f5e3e79d8
|