Difference between revisions of "TOKEN"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
 +
* [[aws eks get-token --cluster-name]]
 +
* [[aws sts get-session-token]]
 +
* [[kubectl --token]]
 +
* <code>[[kubectl describe secret default-token]]</code>
  
 +
[[rancher login]] https://<SERVER_URL> [[--token]] <BEARER_TOKEN>
 +
 +
[[Bearer token]]
 +
[[PRIVATE-TOKEN]]
 +
[[curl $APISERVER/api --header "Authorization: Bearer $TOKEN" --insecure]]
  
  
  [[aws eks get-token --cluster-name]]
+
  TOKEN=$([[aws eks get-token --cluster-name]] education-eks-rQbSpHq6 --output text | grep STATUS |  awk '{print $NF}')
  
 +
TOKEN=$([[kubectl describe secret default-token]] | grep -E '^token' | cut -f2 -d':' | tr -d " ")
  
  [[aws sts get-session-token]]
+
[[Token]]
  
[[rancher login]] https://<SERVER_URL> [[--token]] <BEARER_TOKEN>
+
== See also ==
 +
* {{aws eks get-token}}
 +
* {{Token}}
  
{{aws eks get-token}}
+
[[Category:IT]]

Latest revision as of 09:20, 2 November 2023

Advertising: