Difference between revisions of "Bearer token"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[wikipedia:Bearer token]] is an opaque string, not intended to have any meaning to clients using it. Some servers will issue tokens that are a short string of hexadecimal characters, while others may use structured tokens such as [[JSON]] [[Web Tokens]].
+
[[wikipedia:Bearer token]] is an opaque string, not intended to have any meaning to clients using it. Some servers will issue tokens that are a short string of hexadecimal characters, while others may use structured tokens such as [[JSON Web Tokens]] (JWT).
  
 
   [[Authorization: Bearer]] 31ada4fd-adec-460c-809a-9e56ceb75269
 
   [[Authorization: Bearer]] 31ada4fd-adec-460c-809a-9e56ceb75269
Line 5: Line 5:
 
[[K8s]]:
 
[[K8s]]:
 
  [[curl $APISERVER/api --header]] "Authorization: Bearer $[[TOKEN]]" --insecure
 
  [[curl $APISERVER/api --header]] "Authorization: Bearer $[[TOKEN]]" --insecure
 +
 +
 +
[[curl -H]]
  
 
== Related ==
 
== Related ==
Line 18: Line 21:
 
* [[TOKEN]]
 
* [[TOKEN]]
 
* [[gcloud auth print-access-token]]
 
* [[gcloud auth print-access-token]]
 +
* [[~/Library/Ethereum/geth/jwtsecret]]
  
 
== See also ==
 
== See also ==

Latest revision as of 15:25, 8 May 2024

Advertising: