Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As of Version

product version 2022 Autumn

Request MethodGET
Response Formattext/plain;charset=utf-8
Description


Excerpt

Requests an internal JSON Web Token (JWT) that can be used by a service account to access internal endpoints of services running within the yuuvis® Momentum cluster.


The endpoint requires either Basic-Authentication basic authentication (Example A) or a Token token provided by the identity provider (Example Example B) retrieved via its OIDC interface.

Request HeaderAuthorization with internal Bearer token
Request Example

Example A

Code Block
languagepowershell
curl -H "Authorization: Basic dXNyOnB3ZA==" -H "X-ID-TENANT-NAME: tenant" http://authentication-internal/jwt/token

Example B

Code Block
languagepowershell
curl -H "Authorization: Bearer eyJhbGci..." -H "X-ID-TENANT-NAME: tenant" http://authentication-internal/jwt/token


Response Example


Code Block
languageyml
Bearer eyJraWQiOiJqd3Qtc2lnbmluZy1rZXkiLCJhbGciOiJSUzI1NiJ9.eyJzd...


...