{"id":24919738,"url":"https://github.com/steinfletcher/kms-secrets","last_synced_at":"2025-10-14T08:34:26.567Z","repository":{"id":57591944,"uuid":"125061986","full_name":"steinfletcher/kms-secrets","owner":"steinfletcher","description":"CLI to manage secrets using AWS KMS","archived":false,"fork":false,"pushed_at":"2019-03-17T23:31:35.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T10:12:45.396Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steinfletcher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-13T14:11:45.000Z","updated_at":"2019-03-17T23:31:37.000Z","dependencies_parsed_at":"2022-08-30T05:21:29.155Z","dependency_job_id":null,"html_url":"https://github.com/steinfletcher/kms-secrets","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/steinfletcher/kms-secrets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fkms-secrets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fkms-secrets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fkms-secrets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fkms-secrets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steinfletcher","download_url":"https://codeload.github.com/steinfletcher/kms-secrets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fkms-secrets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018307,"owners_count":26086342,"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-14T02:00:06.444Z","response_time":60,"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-02-02T10:37:17.853Z","updated_at":"2025-10-14T08:34:26.548Z","avatar_url":"https://github.com/steinfletcher.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kms-secrets\n\n[![Build Status](https://travis-ci.org/steinfletcher/kms-secrets.svg?branch=master)](https://travis-ci.org/steinfletcher/kms-secrets)\n\nCLI tool to encrypt and decrypt secrets using kms.\n\n# kms limits\n\nkms only encrypts up to 4096 bytes of data. This tools works around this limitation by applying the following strategy\n\n    1. If data \u003c 4096 bytes, kms encrypt\n    2. If gzipped data \u003c 4096 bytes, gzip data then kms encrypt\n    3. If gzipped data \u003e 4096 bytes, gzip and chunk data then kms encrypt\n\nThe chunked output follows a naming convention, e.g. `file.1of2.enc`, `file.2of2.enc`\n\n## Install\n\nThe following script will install a binary from the latest tagged release\n\n```bash\ncurl https://raw.githubusercontent.com/steinfletcher/kms-secrets/master/download.sh | sh\nmv kms-secrets /usr/local/bin\n```\n\n# Examples\n\nEncrypt files in the current directory\n\n    kms-secrets encrypt --key-id=arn:aws:kms:eu-west-1:0055554291111:key/deef43e5-adab-4ddf-aede-71ce35625fbd --region eu-west-1 --profile dev\n\nEncrypt files in the `secrets` directory (assuming env vars `KMS_KEY_ID`, `AWS_PROFILE` and `AWS_DEFAULT_REGION` are set)\n\n    kms-secrets e -d secrets    \n\nDecrypt files in the current directory with suffix `.enc`\n\n    kms-secrets decrypt --profile dev --region eu-west-1\n\n# Usage\n\nRun `kms-secets --help`\n\n```\nNAME:\n   kms-secrets - Encrypt and decrypt secrets using AWS KMS\n\nUSAGE:\n   kms-secrets [global options] command [command options] [arguments...]\n\nVERSION:\n   0.0.1\n\nCOMMANDS:\n     encrypt, e  Encrypt content\n     decrypt, d  decrypt content ending in .enc\n     help, h     Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --help, -h     show help\n   --version, -v  print the version\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteinfletcher%2Fkms-secrets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteinfletcher%2Fkms-secrets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteinfletcher%2Fkms-secrets/lists"}