Difference between revisions of "TOKEN"

From wikieduonline
Jump to navigation Jump to search
 
(2 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]]
[[aws eks get-token --cluster-name]]
+
* <code>[[kubectl describe secret default-token]]</code>
 
 
 
 
  [[aws sts get-session-token]]
 
  
 
  [[rancher login]] https://<SERVER_URL> [[--token]] <BEARER_TOKEN>
 
  [[rancher login]] https://<SERVER_URL> [[--token]] <BEARER_TOKEN>
Line 18: Line 15:
  
 
  TOKEN=$([[kubectl describe secret default-token]] | grep -E '^token' | cut -f2 -d':' | tr -d " ")
 
  TOKEN=$([[kubectl describe secret default-token]] | grep -E '^token' | cut -f2 -d':' | tr -d " ")
 +
 +
[[Token]]
  
 
== See also ==
 
== See also ==
 
* {{aws eks get-token}}
 
* {{aws eks get-token}}
 +
* {{Token}}
  
 
[[Category:IT]]
 
[[Category:IT]]

Latest revision as of 09:20, 2 November 2023

Advertising: