Home

Awesome

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.

git clone git@github.com:brosandilabs/kubectl-decode-secret.git ~/.kube/plugins/kubectl-decode-secret

Dependencies

Usage

> kubectl plugin decode-secret --help
decode-secret allows users to view decoded kubernetes secrets

Usage:
  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