https://github.com/applejag/showksec
Decode Kubernetes secrets in CLI pipe
https://github.com/applejag/showksec
cli go go-cli golang-cli kubernetes-cli
Last synced: 3 months ago
JSON representation
Decode Kubernetes secrets in CLI pipe
- Host: GitHub
- URL: https://github.com/applejag/showksec
- Owner: applejag
- Created: 2022-09-21T08:47:52.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-24T12:42:52.000Z (about 1 year ago)
- Last Synced: 2025-04-02T22:17:07.269Z (3 months ago)
- Topics: cli, go, go-cli, golang-cli, kubernetes-cli
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# showksec - Show Kubernetes secrets
Pipe a Kubernetes secret YAML into this file and it will base64-decode its
secrets.## Usage
```console
$ cat test-secret.yaml
apiVersion: v1
kind: Secret
metadata:
name: test-secret
data:
foo: YmFy$ cat test-secret.yaml | showksec
apiVersion: v1
kind: Secret
metadata:
name: test-secret
stringData:
foo: bar
```