Skip to content

Ne4to/kubernetes-secret-decode-dotnet

Repository files navigation

Kubernetes Secret Decode .Net edition

Push NuGet package

Inspired by https://github.com/ashleyschuett/kubernetes-secret-decode

Reasons for existing this project:

  • Primary: Learning of Writing kubectl plugins
  • Secondary: Original kubernetes-secret-decode has no Windows compatible binaries in releases.

Installation

NuGet Badge

dotnet tool install --global KubernetesSecretDecode <version>

Add PowerShell alias

Open $PROFILE in text editor and add following line

function kksd() { & kubectl ksddotnet get secret -oyaml $args }

Using

# Full command example
kubectl ksddotnet get secret -oyaml <secret-name>

# Using kksd alias
kksd <secret-name>

About

kubectl plugin to decode a secret into human readable form

Topics

Resources

License

Stars

Watchers

Forks