Difference between revisions of "Base64 --decode"
Jump to navigation
Jump to search
(Created page with " kubectl get secret --namespace default grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo == See also == * {{base64}} Category:Base64") |
|||
(24 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
+ | /usr/bin/[[base64]] | ||
− | kubectl get secret --namespace default grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo | + | echo "yourbase64token" | [[base64]] --decode |
+ | |||
+ | * <code>[[kubectl get secret]] mykubedashboard-kubernetes-dashboard-token-8wfsh -o <nowiki>jsonpath="{.data.token}"</nowiki> | base64 --decode; [[echo]]</code> | ||
+ | |||
+ | * <code>kubectl get secret --namespace default grafana -o <nowiki>jsonpath="{.data.admin-password}"</nowiki> | base64 --decode; echo</code> | ||
+ | |||
+ | * <code>[[kubectl -n default get secret]] argocd-initial-admin-secret -o [[jsonpath]]="{.data.password}" | [[base64 -d]]</code> | ||
+ | |||
+ | * <code>echo "$MYGOOGLE_SA_KEY" | base64 --decode > mykey.json && [[gcloud auth activate-service-account]] --key-file mykey.json</code> | ||
+ | |||
+ | |||
+ | [[base64]] inputfile.txt >> output.txt | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[kubectl -n kube-system describe secret]]</code> | ||
+ | * [[JWT]] | ||
+ | * [[Kubernetes secrets]] | ||
== See also == | == See also == | ||
* {{base64}} | * {{base64}} | ||
+ | * {{kubectl secret}} | ||
[[Category:Base64]] | [[Category:Base64]] |
Latest revision as of 15:29, 8 May 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
kubectl -n default get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
echo "$MYGOOGLE_SA_KEY" | base64 --decode > mykey.json && gcloud auth activate-service-account --key-file mykey.json
base64 inputfile.txt >> output.txt
Related[edit]
See also[edit]
Advertising: