It primarily exists of:
- an OAuth 2.0 Authorization server that provides applications with security tokens in order to securely communicate with each-other in a zero trust architecture.
- a Kubernetes operator to register OAuth 2.0 clients and associated credentials with said Authorization Server.
The intent of the token exchange flow is to ensure that the original subject's identity and permissions are propagated through a request chain of multiple applications, while maintaining security between each application.
This is an optional addon in NaaS. It is not enabled by default.
Provide the NAIS team with a list of URLs pointing to metadata documents for OAuth 2.0 / OpenID Connect compliant identity providers.
This is often referred to as well-known URLs, typically ending in
Otherwise, see TokenX for usage.
For NAIS operators¶
- Enter the tenant-provided well-known URL(s) in the Fasit configuration.
- Enter the equivalent hosts for the outbound hosts needed for external access policies.
- Generate a set of public/private keypair in JWK format, e.g. through https://mkjwk.org/.
- Key Type: RSA
- Key Size: 2048
- Key Usage: Signature
- Algorithm: RS256
- Key ID: SHA256
- The private key is used by Jwker to sign JWT assertions to authenticate itself with Tokendings.
- The public keyset (JWKS) is used by Tokendings to verify client assertions from Jwker.
- Enable Jwker in Naiserator.
- Enable the TokenX feature.
Created: November 29, 2023