{"id":31702056,"url":"https://github.com/instruct-br/nameko-vault","last_synced_at":"2025-10-08T21:11:21.080Z","repository":{"id":46069821,"uuid":"263638993","full_name":"instruct-br/nameko-vault","owner":"instruct-br","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-04T11:35:57.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-09-28T17:38:26.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/instruct-br.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}},"created_at":"2020-05-13T13:32:46.000Z","updated_at":"2021-11-16T17:49:23.000Z","dependencies_parsed_at":"2022-09-26T18:30:43.625Z","dependency_job_id":null,"html_url":"https://github.com/instruct-br/nameko-vault","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/instruct-br/nameko-vault","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instruct-br%2Fnameko-vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instruct-br%2Fnameko-vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instruct-br%2Fnameko-vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instruct-br%2Fnameko-vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/instruct-br","download_url":"https://codeload.github.com/instruct-br/nameko-vault/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instruct-br%2Fnameko-vault/sbom","scorecard":{"id":490062,"data":{"date":"2025-08-11","repo":{"name":"github.com/instruct-br/nameko-vault","commit":"2d36b80a155a29bcb9dded9b942aa50331443344"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Code-Review","score":10,"reason":"all changesets reviewed","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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/instruct-br/nameko-vault/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/instruct-br/nameko-vault/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/instruct-br/nameko-vault/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/instruct-br/nameko-vault/ci.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:37","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:19","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":-1,"reason":"no releases found","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T18:52:20.919Z","repository_id":46069821,"created_at":"2025-08-19T18:52:20.920Z","updated_at":"2025-08-19T18:52:20.920Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000716,"owners_count":26082837,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-08T21:11:16.719Z","updated_at":"2025-10-08T21:11:21.074Z","avatar_url":"https://github.com/instruct-br.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nameko-vault\n\nExtension for [Nameko](https://www.nameko.io/) that integrates with\n[Vault](https://www.vaultproject.io/).\n\nTo use this tool it is necessary to configure the following parameters in your\nnameko config.yml file:\n\n```\nVAULT_URL: \u003cvault_api_url\u003e\nVAULT_TOKEN: \u003cauthentication_token\u003e\n```\n\n## Usage\n\nTo use the tool it's needed inform the mount point of the path in which you want\nto obtain any secrets. This mount point can be informed when instantiating the\nprovider or passing this information directly to the method being used.\n\n### Example 1:\n```python\n# path: example/path/secret\nvault = VaultProvider(mount_point=\"example\")\nvault.get_kv_secret(path=\"path/secret\")\n```\n\n### Example 2:\n```python\n# path: example/path/secret\nvault = VaultProvider()\nvault.get_kv_secret(mount_point=\"example\", path=\"path/secret\")\n```\n\n## List Secrets\n\nThe method `get_kv_secrets_list` returns a list of secrets contained in a given\npath\n\n```python\nvault = VaultProvider()\nvault.get_kv_secrets_list(mount_point=\"example\", path=\"path\")\n```\n```\n['path/test1', 'path/test2']\n```\n\n## Get KV Secret Data\n\nThe method `get_kv_secret` returns the content cotained in a given path\n\n```python\nvault = VaultProvider()\nvault.get_kv_secret(mount_point=\"example\", path=\"path/test\")\n```\n```\n[\n   {\n      \"data\":{\n         \"pass\":\"test\",\n         \"user\":\"sample\"\n      },\n      \"metadata\":{\n         \"created_time\":\"2020-07-01T17:44:48.054175763Z\",\n         \"deletion_time\":\"\",\n         \"destroyed\":False,\n         \"version\":1\n      }\n   }\n]\n```\n\n## Create or Update KV Secret\nMethod to create an secret or update an existing one in a given path.\n\n```python\nvault = VaultProvider()\nsecret = {\"example\": \"Test\", \"number\": 42}\nvault.create_or_update_kv_secret(mount_point=\"example\", path=\"path/test\", secret=secret)\n```\n```\n{\n   'request_id': '4ce62ee7-0f88-3efc-d745-5e2fbc423789',\n   'lease_id': '',\n   'renewable': False,\n   'lease_duration': 0,\n   'data': {\n      'created_time': '2020-09-10T00:25:40.92411625Z',\n      'deletion_time': '',\n      'destroyed': False,\n      'version': 1\n   },\n   'wrap_info': None,\n   'warnings': None,\n   'auth': None\n}\n```\n\n## Patch KV Secret\nMethod to update an existing path. Either to add a new key/value to the secret and/or update the value for an existing key. Raises an `hvac.exceptions.InvalidRequest` if the path hasn’t been written to previously.\n\n```python\nvault = VaultProvider()\nsecret = {\"example\": \"New Test\"}\nvault.patch_kv_secret(mount_point=\"example\", path=\"path/test\", secret=secret)\n```\n```\n{\n   'request_id': '7bf2a869-dc66-efa2-3679-814ef76fb447',\n   'lease_id': '',\n   'renewable': False,\n   'lease_duration': 0,\n   'data': {\n      'created_time': '2020-09-10T00:31:32.6783082Z',\n      'deletion_time': '',\n      'destroyed': False,\n      'version': 2\n   },\n   'wrap_info': None,\n   'warnings': None,\n   'auth': None\n}\n```\n\n## Delete KV Secret (metadata and all versions)\nMethod to delete an existing path with all his versions and metadata on a given path.\n\n```python\nvault = VaultProvider()\npath = \"path/secret\"\nvault.delete_metadata_and_all_versions_kv_secret(path)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstruct-br%2Fnameko-vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finstruct-br%2Fnameko-vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstruct-br%2Fnameko-vault/lists"}