{"id":20961392,"url":"https://github.com/perbu/kubernetes-secret-extractor","last_synced_at":"2025-07-02T09:03:31.163Z","repository":{"id":234988849,"uuid":"750772757","full_name":"perbu/kubernetes-secret-extractor","owner":"perbu","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-31T09:41:45.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-13T06:44:10.393Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/perbu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-01-31T09:40:54.000Z","updated_at":"2024-01-31T09:41:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3b7cc5a-4843-49ba-bad0-3aa53a1257cd","html_url":"https://github.com/perbu/kubernetes-secret-extractor","commit_stats":null,"previous_names":["perbu/kubernetes-secret-extractor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/perbu/kubernetes-secret-extractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fkubernetes-secret-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fkubernetes-secret-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fkubernetes-secret-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fkubernetes-secret-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perbu","download_url":"https://codeload.github.com/perbu/kubernetes-secret-extractor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fkubernetes-secret-extractor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263108722,"owners_count":23415001,"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":[],"created_at":"2024-11-19T02:03:48.568Z","updated_at":"2025-07-02T09:03:31.142Z","avatar_url":"https://github.com/perbu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Secret Extractor\n## Description\n\nThis utility processes the output of kubectl get secret -o json \u003csecret-name\u003e commands, extracting the keys from the data section, decoding them from base64, and writing the results to files. It is designed to facilitate the handling of Kubernetes secrets in a local environment.\n\n## Build \u0026 install\n\nClone the Repository:\n\n```bash\ngit clone https://github.com/perbu/kubernetes-secret-extractor.git\ncd kubernetes-secret-extractor\ngo build -o k8s-secret-extractor\n```\n\n## Usage\n\n### Basic Command:\nTo use the utility, pipe the output of a kubectl get secret -o json command into it:\n\n```bash\nkubectl get secret -o json \u003csecret-name\u003e | ./k8s-secret-extractor\n```\n\n### Overwriting Existing Files:\nIf you want to overwrite existing files with the same names as the keys in the secret, use the --overwrite flag:\n\n```bash\nkubectl get secret -o json \u003csecret-name\u003e | ./k8s-secret-extractor --overwrite\n```\n\n### Security Note\n\nThis utility writes sensitive data to files on your local filesystem. Ensure that:\n\n- Your local environment is secure.\n- Files containing sensitive data are adequately protected.\n- Secrets are handled in compliance with your organization's security policies.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperbu%2Fkubernetes-secret-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperbu%2Fkubernetes-secret-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperbu%2Fkubernetes-secret-extractor/lists"}