{"id":15292073,"url":"https://github.com/pleclech/ansible-vault-helper","last_synced_at":"2026-02-03T13:31:14.255Z","repository":{"id":143276235,"uuid":"280921693","full_name":"pleclech/ansible-vault-helper","owner":"pleclech","description":"edit / encrypt / decrypt ansible vault file using a key","archived":false,"fork":false,"pushed_at":"2023-02-25T06:20:19.000Z","size":86,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T18:49:17.296Z","etag":null,"topics":["ansible","ansible-vault","golang","secret-editing","secret-management"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pleclech.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}},"created_at":"2020-07-19T18:00:17.000Z","updated_at":"2021-06-11T12:25:36.000Z","dependencies_parsed_at":"2023-04-11T21:04:13.064Z","dependency_job_id":null,"html_url":"https://github.com/pleclech/ansible-vault-helper","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/pleclech/ansible-vault-helper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleclech%2Fansible-vault-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleclech%2Fansible-vault-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleclech%2Fansible-vault-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleclech%2Fansible-vault-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pleclech","download_url":"https://codeload.github.com/pleclech/ansible-vault-helper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleclech%2Fansible-vault-helper/sbom","scorecard":{"id":737602,"data":{"date":"2025-08-11","repo":{"name":"github.com/pleclech/ansible-vault-helper","commit":"fed4eedb8232e8e3dbf49ed468c0964db880f078"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.5,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/9 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.5 not signed: https://api.github.com/repos/pleclech/ansible-vault-helper/releases/44476952","Warn: release artifact v1.0.4 not signed: https://api.github.com/repos/pleclech/ansible-vault-helper/releases/32474864","Warn: release artifact v1.0.3 not signed: https://api.github.com/repos/pleclech/ansible-vault-helper/releases/29264880","Warn: release artifact v1.0.2 not signed: https://api.github.com/repos/pleclech/ansible-vault-helper/releases/29207851","Warn: release artifact v1.0.1 not signed: https://api.github.com/repos/pleclech/ansible-vault-helper/releases/28740585","Warn: release artifact v1.0.5 does not have provenance: https://api.github.com/repos/pleclech/ansible-vault-helper/releases/44476952","Warn: release artifact v1.0.4 does not have provenance: https://api.github.com/repos/pleclech/ansible-vault-helper/releases/32474864","Warn: release artifact v1.0.3 does not have provenance: https://api.github.com/repos/pleclech/ansible-vault-helper/releases/29264880","Warn: release artifact v1.0.2 does not have provenance: https://api.github.com/repos/pleclech/ansible-vault-helper/releases/29207851","Warn: release artifact v1.0.1 does not have provenance: https://api.github.com/repos/pleclech/ansible-vault-helper/releases/28740585"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0229 / GHSA-cjjc-xp8v-855w","Warn: Project is vulnerable to: GO-2020-0012 / GHSA-ffhg-7mh4-33c4","Warn: Project is vulnerable to: GO-2021-0227 / GHSA-3vm4-22fp-5rfm","Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2021-0113 / GHSA-ppp9-7jff-5vj2","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T16:21:43.056Z","repository_id":143276235,"created_at":"2025-08-22T16:21:43.056Z","updated_at":"2025-08-22T16:21:43.056Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29046560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","ansible-vault","golang","secret-editing","secret-management"],"created_at":"2024-09-30T16:16:22.904Z","updated_at":"2026-02-03T13:31:14.232Z","avatar_url":"https://github.com/pleclech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-vault-helper\n\nA cli helper to read/write Ansible Vault secrets\n\n## Description\n\navh can be used to edit/encrypt/decrypt Ansible Vault secrets given a key taken from cli flag or env variable.\n\ninput can be a file or stdin\n\noutput can be a file or stdout\n\n## Help\navh --help\n\n```\nHelper to edit/encrypt/decrypt ansible vault file\n\nUsage:\n  avh [command]\n\nAvailable Commands:\n  decrypt     Decrypt file or var\n  edit        Edit a file or a variable for being encrypted\n  encrypt     Encrypt a file or a variable for being encrypted\n  help        Help about any command\n  version     show avh version\n\nFlags:\n  -d, --do-not-ask-for-key      even if key is not found for cli or env variable do not ask for it\n  -e, --env-key-prefix string   prefix to be add in front of env var _VAULT_PASSWORD_EXEC or _VAULT_PASSWORD_FILE (default \"DEFAULT\")\n  -h, --help                    help for avh\n  -i, --input string            input file to edit or - to edit from stdin\n  -k, --key string              raw encryption/decryption key\n      --key-exec string         encryption/decryption key taken from an executable file\n      --key-file string         encryption/decryption key taken from a file to encrypt/decrypt data\n  -p, --key-prompt string       key prompt to show when asking for key (default \"\")\n  -o, --output string           output file to save or - to print to stdout\n\nUse \"avh [command] --help\" for more information about a command.\n```\n\n## Options\n\n### setting encryption/decryption key:\n\nkey will be check in order:\ncli flags take precedence over env variable\n\n1. --key-exec or env variable [--env-prefix]_VAULT_PASSWORD_EXEC, the value is an executable file that can provide the key\n2. --key-file or env variable [--env-prefix]_VAULT_PASSWORD_FILE, the file content is the key\n3. --key or env variable [--env-prefix]_VAULT_PASSWORD, the value is the key\n\nIf the key is not found and --do-not-ask-for-key is not set then the key will be ask to be entered\n\n### input\n\n-i [format] if format is - then input is read from stdin otherwise from a file\n\n### output\n\n-o [format] if format is - then output to stdout otherwise to a file\n\n## Edition\n\navh edit [options]\n\nIt will use the editor set in env variable EDITOR, if not set it will use per default :\n\n- nano on linux\n- notepad on windows\n\nto use vscode for example set EDITOR to 'code'\n\nIf editing a content encrypted it will be decrypted before using the given key\n\nAfter edition the content will be encrypted using the given key\n\n## Examples\n\n### edit a file to be encrypted \navh edit -i my-file\n\n### edit a var and show the encrypted value on stdout\necho \"my secret content\" | avh -i -\n\n### edit a file given a key from cli and show output on stdout\navh edit -k \"my secret key\" -i my-file -o -\n\nSame can be done for the other command encrypt / decrypt\n\n## Doc\n\nCheck out the Ansible documentation regarding the Vault file format:\n\n- https://docs.ansible.com/ansible/2.4/vault.html#vault-format\n\n### Credits\n\nInspired from : \n\n- https://github.com/sosedoff/ansible-vault-go\n- https://samrapdev.com/capturing-sensitive-input-with-editor-in-golang-from-the-cli/\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpleclech%2Fansible-vault-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpleclech%2Fansible-vault-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpleclech%2Fansible-vault-helper/lists"}