https://github.com/satishkumarsk/kubedec
A cli tool in golang to decrypt "Sealed Secrets" for Kubernetes "https://github.com/bitnami-labs/sealed-secrets"
https://github.com/satishkumarsk/kubedec
devops-workflow k8s k8s-secret kubernetes kubernetes-secrets sealed-secrets sealed-secrets-controller
Last synced: 5 months ago
JSON representation
A cli tool in golang to decrypt "Sealed Secrets" for Kubernetes "https://github.com/bitnami-labs/sealed-secrets"
- Host: GitHub
- URL: https://github.com/satishkumarsk/kubedec
- Owner: satishkumarsk
- License: apache-2.0
- Created: 2019-08-31T13:39:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-07T18:37:49.000Z (over 6 years ago)
- Last Synced: 2024-06-20T17:43:30.277Z (almost 2 years ago)
- Topics: devops-workflow, k8s, k8s-secret, kubernetes, kubernetes-secrets, sealed-secrets, sealed-secrets-controller
- Language: Go
- Size: 4.2 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubedec
[](https://travis-ci.com/satishkumarsk/kubedec)[](https://codecov.io/gh/satishkumarsk/kubedec)
The cli will decrypt the encrypted yaml generated by sealed secrets using kubeseal https://github.com/bitnami-labs/sealed-secrets
Descrption:
Its hard to view the encrypted yaml once sealed using kubeseal . This CLI allows to decrypt the yaml and validate the encrypted values incase you need
## To get master key
```bash
$ kubectl get secret -n kube-system sealed-secrets-key -o yaml >master.key
```
## NOTE: master key is the controller's public + private key and should be kept really safe!!!
## Installation
See https://github.com/satishkumarsk/kubedec/releases for the latest release and detailed installation instructions.
## To build
To build the `kubedec` and controller binaries, run:
```bash
$ make install && make build
```
Note: binary would be generated under target folder
## Kubedec cli in action

## How to use
```bash
$ kubedec -k -f
```