{"id":19019877,"url":"https://github.com/shini4i/kd","last_synced_at":"2026-01-02T18:14:22.535Z","repository":{"id":108970636,"uuid":"510513489","full_name":"shini4i/kd","owner":"shini4i","description":"A bash script that makes it easy to view the contents of secrets stored in a Kubernetes cluster.","archived":false,"fork":false,"pushed_at":"2024-06-13T20:52:53.000Z","size":20,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-17T20:39:35.796Z","etag":null,"topics":["bash-script","kubectl","kubernetes","kubernetes-secrets"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/shini4i.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,"zenodo":null}},"created_at":"2022-07-04T22:00:31.000Z","updated_at":"2024-11-13T17:57:44.000Z","dependencies_parsed_at":"2025-04-17T08:55:51.948Z","dependency_job_id":"90df09d7-d427-44c6-8c61-f8cef2f4bc8e","html_url":"https://github.com/shini4i/kd","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shini4i%2Fkd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shini4i%2Fkd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shini4i%2Fkd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shini4i%2Fkd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shini4i","download_url":"https://codeload.github.com/shini4i/kd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250374128,"owners_count":21419920,"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":["bash-script","kubectl","kubernetes","kubernetes-secrets"],"created_at":"2024-11-08T20:14:51.529Z","updated_at":"2026-01-02T18:14:22.526Z","avatar_url":"https://github.com/shini4i.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# kd\nKubernetes secrets Decoder\n\n![Shell](https://img.shields.io/badge/shell-bash-green)\n![Version](https://img.shields.io/github/v/tag/shini4i/kd)\n![license](https://img.shields.io/github/license/shini4i/kd)\n\n\u003cimg src=\"https://raw.githubusercontent.com/shini4i/assets/main/src/kd/demo.png\" alt=\"Showcase\" height=\"441\" width=\"620\"\u003e\n\u003c/div\u003e\n\n`kd` is a bash script that decodes Kubernetes secrets. It makes it easy to view the contents of secrets stored in a Kubernetes cluster.\n\nThere are alternatives to this script, but they are either not maintained or require way too many dependencies.\n\n## Prerequisites\n\nBefore you can use `kd`, you need to have the following installed:\n\n- `kubectl`: the Kubernetes command-line tool\n- `yq`: a YAML parser and processor\n\n## Installation\n\n### Option 1: Install with Homebrew (macOS and Linux)\n\nIf you're using macOS or Linux, you can install `kd` using Homebrew. To do so, run the following command:\n\n```bash\nbrew install shini4i/tap/kd\n```\n\n### Option 2: Install manually\n\nTo install `kd` manually, download the `src/kd.sh` script and add it to your PATH. You can do this by running the following commands:\n\n```bash\ncurl https://raw.githubusercontent.com/shini4i/kd/main/src/kd.sh -o kd\nchmod +x kd\nsudo mv kd /usr/local/bin/\n````\n\n## Usage\nHere are some examples of how to use kd:\n\n```bash\n# Decode a secret in the current namespace\nkd my-secret\n\n# Decode a secret in a specific namespace\nkd my-secret my-namespace\n```\n\n## Contributing\n\nContributions to `kd` are welcome! Please open an issue or a pull request if you find a bug or want to submit a patch.\n\nNew feature requests are not expected, but suggestions for improving the existing functionality or fixing bugs are appreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshini4i%2Fkd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshini4i%2Fkd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshini4i%2Fkd/lists"}