Difference between revisions of "TOKEN"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
[[PRIVATE-TOKEN]] | [[PRIVATE-TOKEN]] | ||
[[curl $APISERVER/api --header "Authorization: Bearer $TOKEN" --insecure]] | [[curl $APISERVER/api --header "Authorization: Bearer $TOKEN" --insecure]] | ||
+ | |||
+ | |||
+ | [[aws eks get-token --cluster-name]] education-eks-rQbSpHq6 --output text | grep STATUS | awk '{print $NF}' | ||
== See also == | == See also == |
Revision as of 13:24, 30 October 2023
aws eks get-token --cluster-name
aws sts get-session-token
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 education-eks-rQbSpHq6 --output text | grep STATUS | awk '{print $NF}'
See also
Advertising: