VirtualClusterAuthenticationJWKS

object

JSON Web Key Set configuration for verifying token signatures.

endpointstring(uri)required

URL for JWKS endpoint.

>= 1 characters

timeoutstring

Total time from establishing connection to receive a response from JWKS endpoint.

Default:10s

cache_expirationstring

Duration after which the gateway will fetch and cache JWKS.

Default:1h

Example

VirtualClusterAuthenticationClaimsMapping

object

Maps JWT claims in the case when sub and scope are presented as different claims in your JWT token.

substring

Maps the subject claim.

>= 1 characters

scopestring

Maps the scope claim.

>= 1 characters

Example

VirtualClusterAuthenticationSaslScram

object

SASL/SCRAM authentication scheme for the virtual cluster.

* Additional properties are NOT allowed.
typestringrequired

Allowed values:sasl_scram

algorithmstringrequired

The algorithm used for SASL/SCRAM authentication.

Allowed values:sha256sha512

Example

VirtualClusterAuthenticationOauthBearer

object

Oauth Bearer authentication scheme for the virtual cluster.

* Additional properties are NOT allowed.
typestringrequired

Allowed values:oauth_bearer

mediationstringrequired

Methods to mediate authentication:

  • passthrough - pass authentication from the client through proxy to the backend cluster without any kind of
    validation
  • validate_forward - pass authentication from the client through proxy to the backend cluster.
    Proxy does the validation before forwarding it to the client.
  • terminate - terminate authentication at the proxy level and originate authentication to the backend cluster
    using the configuration defined at BackendCluster’s authentication.
    SASL auth is not originated if authentication on the backend_cluster is not configured.

Allowed values:passthroughvalidate_forwardterminate

claims_mappingobject

Maps JWT claims in the case when sub and scope are presented as different claims in your JWT token.

Show Child Parameters
jwksobject

JSON Web Key Set configuration for verifying token signatures.

Show Child Parameters
validateobject

Validation rules.

Show Child Parameters
Example

VirtualClusterAuthenticationValidate

object

Validation rules.

audiencesarray[object]

List of expected audience values. One of them has to match the audience claim in the token.

>= 1 items

Show Child Parameters
issuerstring

Expected token issuer in the token.

>= 1 characters

Example