{"id":19320972,"url":"https://github.com/defanglabs/secrets-sidecar","last_synced_at":"2026-03-02T00:33:49.161Z","repository":{"id":187934512,"uuid":"677827851","full_name":"DefangLabs/secrets-sidecar","owner":"DefangLabs","description":"Converts secrets in ECS from environment variables to Docker Compose files under `/run/secrets`","archived":false,"fork":false,"pushed_at":"2023-08-12T19:58:27.000Z","size":4,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T05:28:41.527Z","etag":null,"topics":["proof-of-concept"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/DefangLabs.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}},"created_at":"2023-08-12T19:12:31.000Z","updated_at":"2024-02-21T18:58:43.000Z","dependencies_parsed_at":"2023-08-12T20:47:08.915Z","dependency_job_id":"64f173c8-8f6c-488a-ad25-9c2641cfdd88","html_url":"https://github.com/DefangLabs/secrets-sidecar","commit_stats":null,"previous_names":["defang-io/secrets-sidecar","defanglabs/secrets-sidecar"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DefangLabs/secrets-sidecar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefangLabs%2Fsecrets-sidecar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefangLabs%2Fsecrets-sidecar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefangLabs%2Fsecrets-sidecar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefangLabs%2Fsecrets-sidecar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DefangLabs","download_url":"https://codeload.github.com/DefangLabs/secrets-sidecar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefangLabs%2Fsecrets-sidecar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29988054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T22:42:38.399Z","status":"ssl_error","status_checked_at":"2026-03-01T22:41:51.863Z","response_time":124,"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":["proof-of-concept"],"created_at":"2024-11-10T01:34:24.655Z","updated_at":"2026-03-02T00:33:49.095Z","avatar_url":"https://github.com/DefangLabs.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# secrets-sidecar\nConverts secrets in ECS from environment variables to Docker Compose files under `/run/secrets`. See https://docs.docker.com/compose/use-secrets/ .\n\n1. Iterates over all environment variables, checking for prefix `secret_`\n2. Creates a file under `/run/secrets` with the name of the environment variable without the prefix\n3. Returns non-zero exit code if any of the files fail to be created\n\nYou'd want to add this sidecar to your ECS task definition as a non-essential container and add a volume for `/run/secrets`. Then, add `volumeFrom` to your main container. See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bind-mounts.html#bind-mount-examples, section \"To mount volumes from another container using volumesFrom\".\n\n\nTest from command line:\n```\nmake build\n./secrets\n```\n\nUse the existing docker image locally:\n```\ndocker run lionello/secrets-sidecar\n```\n\nBuild your own docker image:\n```\nmake docker\n```\n\nPush all docker images and multi-arch manifest:\n```\nmake push\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefanglabs%2Fsecrets-sidecar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefanglabs%2Fsecrets-sidecar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefanglabs%2Fsecrets-sidecar/lists"}