DomainAdvancedSecurityOptionsJwtOptions constructor

const DomainAdvancedSecurityOptionsJwtOptions({
  1. Input<bool?>? enabled,
  2. Input<String?>? jwksUrl,
  3. Input<String?>? publicKey,
  4. Input<String?>? rolesKey,
  5. Input<String?>? subjectKey,
})

Creates a new DomainAdvancedSecurityOptionsJwtOptions. enabled Whether JWT authentication is enabled. jwksUrl URL endpoint that hosts the JSON Web Key Set (JWKS) containing public keys used to verify JWT signatures. This argument can be specified only with OpenSearch versions 3.3 and later. At least one of jwksUrl or publicKey must be specified when enabled is set to true. publicKey PEM-encoded public key used to verify JWT signatures. At least one of jwksUrl or publicKey must be specified when enabled is set to true. If both jwksUrl and publicKey are specified, publicKey is ignored. rolesKey Element of the JWT assertion to use for roles. Default is roles. subjectKey Element of the JWT assertion to use for the user name. Default is sub.

Implementation

const DomainAdvancedSecurityOptionsJwtOptions({
  this.enabled,
  this.jwksUrl,
  this.publicKey,
  this.rolesKey,
  this.subjectKey,
});