Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created August 7, 2022 15:16
Show Gist options
  • Select an option

  • Save KyMidd/bba76c3daae72ef15c95831b298b56c5 to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/bba76c3daae72ef15c95831b298b56c5 to your computer and use it in GitHub Desktop.
✗ kubectl get secrets secret-string -o json | jq -r .data.\"string-secret\" | base64 -D
cindy77%
✗ kubectl get secrets secret-json -o json | jq -r .data.\"json-secret\" | base64 -D | jq
{
"app_password": "cindy1",
"other_password": "cindy3",
"smtp_password": "cindy2"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment