Difference between revisions of "Kubernetes bearer tokens"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
* https://kubernetes.io/docs/reference/access-authn-authz/authentication/#authentication-strategies
 
* https://kubernetes.io/docs/reference/access-authn-authz/authentication/#authentication-strategies
 
* https://kubernetes.io/docs/reference/access-authn-authz/authentication/#putting-a-bearer-token-in-a-request
 
* https://kubernetes.io/docs/reference/access-authn-authz/authentication/#putting-a-bearer-token-in-a-request
 +
 +
Putting a Bearer Token in a Request
 +
When using bearer token authentication from an http client, the API server expects an Authorization header with a value of Bearer <token>. The bearer token must be a character sequence that can be put in an HTTP header value using no more than the encoding and quoting facilities of HTTP. For example: if the bearer token is 31ada4fd-adec-460c-809a-9e56ceb75269 then it would appear in an HTTP header as shown below.
 +
 +
Authorization: Bearer 31ada4fd-adec-460c-809a-9e56ceb75269
  
  

Revision as of 16:56, 31 October 2023

Putting a Bearer Token in a Request When using bearer token authentication from an http client, the API server expects an Authorization header with a value of Bearer <token>. The bearer token must be a character sequence that can be put in an HTTP header value using no more than the encoding and quoting facilities of HTTP. For example: if the bearer token is 31ada4fd-adec-460c-809a-9e56ceb75269 then it would appear in an HTTP header as shown below.

Authorization: Bearer 31ada4fd-adec-460c-809a-9e56ceb75269


Activities

Related

See also

Advertising: