Difference between revisions of "Base64 --decode"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
* <code>kubectl get secret --namespace default grafana -o <nowiki>jsonpath="{.data.admin-password}"</nowiki> | base64 --decode; echo</code> | * <code>kubectl get secret --namespace default grafana -o <nowiki>jsonpath="{.data.admin-password}"</nowiki> | base64 --decode; echo</code> | ||
− | * echo "$MYGOOGLE_SA_KEY" | base64 --decode > mykey.json && [[gcloud auth activate-service-account]] --key-file mykey.json | + | * <code>echo "$MYGOOGLE_SA_KEY" | base64 --decode > mykey.json && [[gcloud auth activate-service-account]] --key-file mykey.json</code> |
Revision as of 14:37, 9 January 2024
/usr/bin/base64
echo "yourbase64token" | base64 --decode
kubectl get secret mykubedashboard-kubernetes-dashboard-token-8wfsh -o jsonpath="{.data.token}" | base64 --decode; echo
kubectl get secret --namespace default grafana -o jsonpath="{.data.admin-password}" | base64 --decode; echo
echo "$MYGOOGLE_SA_KEY" | base64 --decode > mykey.json && gcloud auth activate-service-account --key-file mykey.json
Related
See also
Advertising: