Difference between revisions of "Base64 --decode"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  echo "yourbase64token" | [[base64]] --decode
 
  echo "yourbase64token" | [[base64]] --decode
  
[[kubectl get secret]] mykubedashboard-kubernetes-dashboard-token-8wfsh -o jsonpath="{.data.token}" | base64 --decode; [[echo]]
+
* [[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 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
+
* echo "$MYGOOGLE_SA_KEY" | base64 --decode > mykey.json && [[gcloud auth activate-service-account]] --key-file mykey.json
  
  

Revision as of 11:04, 11 October 2023

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


Related

See also

Advertising: