{"id":28401062,"url":"https://github.com/hansmi/vault-keepassxc-client","last_synced_at":"2025-06-28T13:31:56.967Z","repository":{"id":296467134,"uuid":"993465165","full_name":"hansmi/vault-keepassxc-client","owner":"hansmi","description":"Read Ansible Vault passwords from KeePassXC","archived":false,"fork":false,"pushed_at":"2025-05-31T19:18:08.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-08T11:39:32.199Z","etag":null,"topics":["ansible-vault","ansible-vault-client","cli","keepassxc","password-manager","password-safety","password-store","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hansmi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-30T20:54:07.000Z","updated_at":"2025-06-01T21:37:29.000Z","dependencies_parsed_at":"2025-05-31T09:14:03.057Z","dependency_job_id":"0cf8b220-3765-4969-a24c-885030ca2688","html_url":"https://github.com/hansmi/vault-keepassxc-client","commit_stats":null,"previous_names":["hansmi/vault-keepassxc-client"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hansmi/vault-keepassxc-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansmi%2Fvault-keepassxc-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansmi%2Fvault-keepassxc-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansmi%2Fvault-keepassxc-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansmi%2Fvault-keepassxc-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansmi","download_url":"https://codeload.github.com/hansmi/vault-keepassxc-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansmi%2Fvault-keepassxc-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262437914,"owners_count":23311056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible-vault","ansible-vault-client","cli","keepassxc","password-manager","password-safety","password-store","python"],"created_at":"2025-06-01T11:37:56.597Z","updated_at":"2025-06-28T13:31:56.958Z","avatar_url":"https://github.com/hansmi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Vault client for KeePassXC\n\n`vault-keepassxc-client` is a [client script for Ansible\nVault][ansible-vault-client-scripts] t work with\n[KeePassXC][keepassxc]\n([keepassxreboot/keepassxc][keepassxc-github]).\nPasswords for vaults are retrieved from the password manager.\n\nTo remain a tiny tool [F. Zhang's `git-credential-keepassxc`\nprogram][git-credential-keepassxc] is used. It uses KeePassXC's socket\nprotocol, originally written for web browser extensions.\n\n## Usage\n\nThe client can be registered for individual vault IDs in `ansible.cfg`:\n\n```ini\n[defaults]\nvault_identity_list = test1@/usr/local/bin/vault-keepassxc-client\n```\n\nThe Git credential client needs to be configured\n([documentation][git-credential-keepassxc-config]; caller limitations are left\nas an exercise to the reader):\n\n```shell\ngit-credential-keepassxc configure\n```\n\nPassword entries in KeePassXC are recognized via URLs of the form\n`ansible-vault://\u003cvault_id\u003e/`. They need to be in a group named `Ansible`. Such\nentries can be configured manually or via the command line. Without\n`--generate-random` the user is prompted for the password.\n\nExample:\n\n```shell\n$ vault-keepassxc-client --vault-id test1 --generate-random --set\n```\n\nRead the password back:\n\n```shell\n$ vault-keepassxc-client --vault-id test1 --get\nAbXy[…]1234\n```\n\n\u003cimg src=\"doc/keepassxc-entry.png\" width=\"300\"\n  alt=\"Screenshot of KeePassXC showing a single entry with an Ansible vault password\"\u003e\n\n[ansible-vault-client-scripts]: https://docs.ansible.com/ansible/latest/vault_guide/vault_managing_passwords.html#storing-passwords-in-third-party-tools-with-vault-password-client-scripts\n[keepassxc]: https://keepassxc.org/\n[keepassxc-github]: https://github.com/keepassxreboot/keepassxc\n[keepassxc-protocol]: https://github.com/keepassxreboot/keepassxc-browser/blob/develop/keepassxc-protocol.md\n[git-credential-keepassxc]: https://github.com/Frederick888/git-credential-keepassxc\n[git-credential-keepassxc-config]: https://github.com/Frederick888/git-credential-keepassxc?tab=readme-ov-file#configuration\n\n\u003c!-- vim: set sw=2 sts=2 et : --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansmi%2Fvault-keepassxc-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansmi%2Fvault-keepassxc-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansmi%2Fvault-keepassxc-client/lists"}