Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brosandilabs/kubectl-decode-secret
A kubectl plugin to decode Kubernetes secrets
https://github.com/brosandilabs/kubectl-decode-secret
base64 decode kubectl kubectl-plugins kubernetes plugins secrets
Last synced: 2 months ago
JSON representation
A kubectl plugin to decode Kubernetes secrets
- Host: GitHub
- URL: https://github.com/brosandilabs/kubectl-decode-secret
- Owner: brosandilabs
- License: apache-2.0
- Created: 2018-07-05T10:38:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-07T22:36:08.000Z (over 6 years ago)
- Last Synced: 2024-08-02T06:13:33.799Z (6 months ago)
- Topics: base64, decode, kubectl, kubectl-plugins, kubernetes, plugins, secrets
- Language: Shell
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-kubectl-plugins - kubectl-decode-secret
README
# kubectl-decode-secret
## About
### Description
A kubectl plugin to decode Kubernetes secrets### Installation
Add `kubectl-decode-secret` to your `kubectl` plugins directory. For more information about how plugins are loaded, please see the [official documentation](https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/).
```
git clone [email protected]:brosandilabs/kubectl-decode-secret.git ~/.kube/plugins/kubectl-decode-secret
```### Dependencies
* docker - since this plugin relies on functionality only availale in `jq` 1.6-rc1, a custom docker image is used to execute `jq`### Usage
```
> kubectl plugin decode-secret --help
decode-secret allows users to view decoded kubernetes secretsUsage:
kubectl plugin decode-secret [flags] [options]Use "kubectl options" for a list of global command-line options (applies to all commands).
```### Examples
Decode content of 'my-secret' in 'default' namespace:
```
kubectl plugin decode-secret my-secret
```Decode content of 'my-secret' in 'custom' namespace:
```
kubectl plugin decode-secret my-secret -n custom
```