{"id":21504413,"url":"https://github.com/keilerkonzept/aws-secretsmanager-files","last_synced_at":"2025-07-16T00:32:08.420Z","repository":{"id":37601896,"uuid":"197230933","full_name":"keilerkonzept/aws-secretsmanager-files","owner":"keilerkonzept","description":"writes AWS Secrets Manager secrets to files on disk. single binary, no dependencies. osx \u0026 linux \u0026 windows. #aws #golang #cli","archived":false,"fork":false,"pushed_at":"2024-07-30T22:47:01.000Z","size":13013,"stargazers_count":35,"open_issues_count":3,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-07-31T02:32:16.199Z","etag":null,"topics":["aws","files","secretsmanager","self-contained"],"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/keilerkonzept.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":"2019-07-16T16:35:38.000Z","updated_at":"2022-09-21T02:28:20.000Z","dependencies_parsed_at":"2022-07-12T16:33:09.409Z","dependency_job_id":"60d9c5e3-ba93-4216-a841-44d2c7c05b01","html_url":"https://github.com/keilerkonzept/aws-secretsmanager-files","commit_stats":null,"previous_names":[],"tags_count":481,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keilerkonzept%2Faws-secretsmanager-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keilerkonzept%2Faws-secretsmanager-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keilerkonzept%2Faws-secretsmanager-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keilerkonzept%2Faws-secretsmanager-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keilerkonzept","download_url":"https://codeload.github.com/keilerkonzept/aws-secretsmanager-files/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226084432,"owners_count":17571155,"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":["aws","files","secretsmanager","self-contained"],"created_at":"2024-11-23T18:59:35.906Z","updated_at":"2024-11-23T18:59:37.883Z","avatar_url":"https://github.com/keilerkonzept.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-secretsmanager-files\n\n[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/sgreben/aws-secretsmanager-files.svg)](https://hub.docker.com/r/sgreben/aws-secretsmanager-files/tags)\n\nWrites AWS Secrets Manager secrets to files on disk. (If you need secrets as environment variables instead, you can use [aws-secretsmanager-env](https://github.com/keilerkonzept/aws-secretsmanager-env))\n\n\u003c!-- TOC --\u003e\n\n- [Get it](#get-it)\n- [Use it](#use-it)\n  - [Examples](#examples)\n- [Comments](#comments)\n\n\u003c!-- /TOC --\u003e\n\n## Get it\n\nUsing go get:\n\n```bash\ngo get -u github.com/keilerkonzept/aws-secretsmanager-files\n```\n\nOr [download the binary](https://github.com/keilerkonzept/aws-secretsmanager-files/releases/latest) from the releases page.\n\n```bash\n# Linux\ncurl -L https://github.com/keilerkonzept/aws-secretsmanager-files/releases/download/1.2.477/aws-secretsmanager-files_1.2.477_linux_x86_64.tar.gz | tar xz\n\n# OS X\ncurl -L https://github.com/keilerkonzept/aws-secretsmanager-files/releases/download/1.2.477/aws-secretsmanager-files_1.2.477_osx_x86_64.tar.gz | tar xz\n\n# Windows\ncurl -LO https://github.com/keilerkonzept/aws-secretsmanager-files/releases/download/1.2.477/aws-secretsmanager-files_1.2.477_windows_x86_64.zip\nunzip aws-secretsmanager-files_1.2.477_windows_x86_64.zip\n```\n\n## Use it\n\n```text\n\naws-secretsmanager-files [OPTIONS]\n\nUsage of aws-secretsmanager-files:\n  -file-mode uint\n    \tfile mode for secret files (default 256)\n  -profile string\n    \toverride the current AWS_PROFILE setting\n  -secret FILE_PATH=SECRET_ARN\n    \ta key/value pair FILE_PATH=SECRET_ARN (may be specified repeatedly)\n  -secret-json-key FILE_PATH=SECRET_ARN#JSON_KEY\n    \ta key/value pair FILE_PATH=SECRET_ARN#JSON_KEY (may be specified repeatedly)\n  -secret-json-key-string FILE_PATH=SECRET_ARN#JSON_KEY\n    \ta key/value pair FILE_PATH=SECRET_ARN#JSON_KEY (may be specified repeatedly)\n  -version\n    \tprint version and exit\n```\n\n### Examples\n\n```shell\n$ aws-secretsmanager-files -secret ./secret.json=arn:aws:secretsmanager:eu-west-1:28381901202:secret:example-secret-1\n$ cat ./secret.json\n{\"hello\":\"world\"}\n\n$ aws-secretsmanager-files -secret-json-key ./secret.json=arn:aws:secretsmanager:eu-west-1:28381901202:secret:example-secret-1#hello\n$ cat ./secret.json\n\"world\"\n\n$ aws-secretsmanager-files secret-json-key-string ./secret.json=arn:aws:secretsmanager:eu-west-1:28381901202:secret:example-secret-1#hello\n$ cat ./secret.json\nworld\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeilerkonzept%2Faws-secretsmanager-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeilerkonzept%2Faws-secretsmanager-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeilerkonzept%2Faws-secretsmanager-files/lists"}