Show kubernetes secrets with k9s

If you want to show decrypted secrets of your kubernetes (k8s) deployment with k9s try this:

First choose the namespace you want to check the secrets in by typing a colon and namespace

:namespace
Code language: Shell Session (shell)

Then choose your namespace by navigating with your arrow down key and press return when on the desired namespace.

Then type a colon and type ‘secrets’:

:secrets
Code language: Shell Session (shell)

Then choose your secret by navigating with your arrow down key and press return when on the desired secret.

When secret is selected press x and k9s will display the decrypted secrets.

k9s decode secrets with x

Leave the decrypted display again by pressing Escape key.