{"id":22214174,"url":"https://github.com/grimdork/awsec","last_synced_at":"2026-04-01T19:11:05.580Z","repository":{"id":57624033,"uuid":"397866642","full_name":"grimdork/awsec","owner":"grimdork","description":"Store secrets in AWS Parameter Store.","archived":false,"fork":false,"pushed_at":"2026-03-20T03:21:08.000Z","size":56,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-20T19:20:30.906Z","etag":null,"topics":["aws","cli","cross-platform","secrets","security","security-tools"],"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/grimdork.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":"SECURITY.md","support":null}},"created_at":"2021-08-19T08:10:32.000Z","updated_at":"2026-03-20T03:21:04.000Z","dependencies_parsed_at":"2022-09-26T20:10:39.363Z","dependency_job_id":null,"html_url":"https://github.com/grimdork/awsec","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/grimdork/awsec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grimdork%2Fawsec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grimdork%2Fawsec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grimdork%2Fawsec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grimdork%2Fawsec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grimdork","download_url":"https://codeload.github.com/grimdork/awsec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grimdork%2Fawsec/sbom","scorecard":{"id":445714,"data":{"date":"2025-08-11","repo":{"name":"github.com/grimdork/awsec","commit":"0dc7b75e2870365314db5bdf1145e9c6316f4d0e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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":"Security-Policy","score":3,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Warn: no linked content found","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: SECURITY.md:1"],"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":"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/codeql-analysis.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/grimdork/awsec/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/grimdork/awsec/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/grimdork/awsec/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/grimdork/awsec/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/grimdork/awsec/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/grimdork/awsec/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/grimdork/awsec/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/grimdork/awsec/release.yml/main?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction 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":"SAST","score":10,"reason":"SAST tool detected: CodeQL","details":["Info: SAST configuration detected: CodeQL","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:16","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:17","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/release.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":"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":"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":"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":"Signed-Releases","score":8,"reason":"5 out of the last 5 releases have a total of 5 signed artifacts.","details":["Info: signed release artifact: checksums.txt.sig: https://github.com/grimdork/awsec/releases/tag/v0.11.2","Info: signed release artifact: checksums.txt.sig: https://github.com/grimdork/awsec/releases/tag/v0.11.1","Info: signed release artifact: checksums.txt.sig: https://github.com/grimdork/awsec/releases/tag/v0.11.0","Info: signed release artifact: checksums.txt.sig: https://github.com/grimdork/awsec/releases/tag/v0.10.6","Info: signed release artifact: checksums.txt.sig: https://github.com/grimdork/awsec/releases/tag/v0.10.5","Warn: release artifact v0.11.2 does not have provenance: https://api.github.com/repos/grimdork/awsec/releases/63782804","Warn: release artifact v0.11.1 does not have provenance: https://api.github.com/repos/grimdork/awsec/releases/54504070","Warn: release artifact v0.11.0 does not have provenance: https://api.github.com/repos/grimdork/awsec/releases/54499016","Warn: release artifact v0.10.6 does not have provenance: https://api.github.com/repos/grimdork/awsec/releases/53777787","Warn: release artifact v0.10.5 does not have provenance: https://api.github.com/repos/grimdork/awsec/releases/53636290"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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"}}]},"last_synced_at":"2025-08-19T06:40:47.773Z","repository_id":57624033,"created_at":"2025-08-19T06:40:47.773Z","updated_at":"2025-08-19T06:40:47.773Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: 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":["aws","cli","cross-platform","secrets","security","security-tools"],"created_at":"2024-12-02T21:14:17.653Z","updated_at":"2026-04-01T19:11:05.572Z","avatar_url":"https://github.com/grimdork.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# awsec [![CodeQL](https://github.com/grimdork/awsec/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/grimdork/awsec/actions/workflows/codeql-analysis.yml) [![goreleaser](https://github.com/grimdork/awsec/actions/workflows/release.yml/badge.svg)](https://github.com/grimdork/awsec/actions/workflows/release.yml)\nStore secrets in AWS Parameter Store.\n\n## What\nThis tool treats Amazon Web Services Parameter Store as a repository for secrets. Simple strings, encrypted strings (with KMS keys) and string lists are supported there, and this tool helps set and retrieve them more conveniently.\n\n## Installing\n\n### Install from source\nIf you have Go v1.25 or later installed:\n```\ngo install github.com/grimdork/awsec@latest\n```\n\nOr just clone the project with `git clone git@github.com:grimdork/awsec.git` if you want to contribute.\n\n### Download packages directly\nDownload a suitable package from [the official package page](https://github.com/grimdork/awsec/releases).\n\n### Homebrew\nIf you have Homebrew installed on macOS or Linux:\n```\nbrew tap grimdork/tools\nbrew install grimdork/tools/awsec\n```\n\n## Setup\nEverything needed to make `aws-cli` run should already be set up. If your company uses Parameter Store, you probably also use AWS tools. You need two comfiguration files at minimum:\n- ~/.aws/config\n- ~/.aws/credentials\n\nCheck AWS documentation for specifics.\n\n## How\n\n### List secrets\nThe simplest invocation lists all secrets in your configured AWS account:\n```\nawsec ls\n```\n\nThis lists every secret in the configured parameter store.\n\nYou can also specify the beginning portion of keys to narrow down the list:\n```\nawsec ls secrets/internal\n```\n\nNOTE:\n- Parameter Store requires keys to start with a slash. This tool adds it automatically when missing, where it makes sense.\n- Keys your IAM user doesn't have access to may still be listed. You still can't fetch their contents.\n- You can create policies to set up path-based permissions, limiting certain paths to be accessible only to some users. For instance, you may have a policy for \"/secrets*\" and another for \"/admin*\", and users with access to only one can't create or get values starting with the other path. See AWS documentation on IAM policies and groups for further reference.\n\n### Get a secret\n```\nawsec get secrets/internal/dbpasswords\n````\nretrieves a parameter named `/secrets/internal/dbpasswords` from the Parameter Store, provided that you have permission to do so.\n\n\n### Set a secret\n```\nawsec set secrets/internal/testpw 123456 -s\n````\nsets the key `secrets/internal/testpw` to `123456` and flags it as secure, which enables AWS KMS encryption.\n\nYou can also set string lists (comma-separated values):\n```\nawsec set secrets/internal/var-list one,1,two,2 -l\n```\n\nThis sets four values, which well be presented in pairs when you use `get`. This is useful for small configuration files. Technically it's also usable for password lists, but if you want the maximum security use Securestring and split them up.\n\nThe `-d` flag allows you to set a description for a key:\n```\nawsec set -d \"This key is a test.\" secrets/test \"This is the test key's value.\"\n```\n\nFinally, it's also possibly to set a key value from a file:\n```\nawsec set -f secrets/ssh/prod-web prod-web.pem\n````\nputs the contents of the file `prod-web.pem` into the key `secrets/ssh/prod-web`.\n\n### Tag a secret\nAWS allows keys to have tags in addition to descriptions. Tags are used for many things, including filtering billing information. For example:\n```\nawsec tag secrets/ssh/prod-web -t customer=internal\n```\n\nThis command updates the secret `secrets/ssh/prod-web` and sets the tag `customer` to `internal`.\n\nNOTE: Each AWS resource can have a maximum of 50 tags.\n\n### Rename a secret\nYou can rename a key (sort of) like this:\n```\nawsec rename secrets/ssh/prod-web secrets/ssh/prod-old-web\n````\n\nThis copies the contents of `secrets/ssh/prod-web` to a key named `secrets/ssh/prod-old-web` and deletes `secrets/ssh/prod-web`.\n\nNOTE: If removal fails because of lacking permissions, you may end up with a duplicate key. Check policies if this happens.\n\n### Remove a key\n```\nawsec rm secrets/ssh/prod-web\n```\nremoves the key `secrets/ssh/prod-web`, asking to confirm. Use the `-f` flag to skip the question.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrimdork%2Fawsec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrimdork%2Fawsec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrimdork%2Fawsec/lists"}