DomainAdvancedSecurityOptionsJwtOptions class
Constructors
-
DomainAdvancedSecurityOptionsJwtOptions({Input<bool?>? enabled, Input<String?>? jwksUrl, Input<String?>? publicKey, Input<String?>? rolesKey, 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.
const
-
DomainAdvancedSecurityOptionsJwtOptions.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
enabled
→ Input<bool?>?
-
Whether JWT authentication is enabled.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
jwksUrl
→ Input<String?>?
-
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.
final
-
publicKey
→ Input<String?>?
-
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.
final
-
rolesKey
→ Input<String?>?
-
Element of the JWT assertion to use for roles. Default is
roles.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
subjectKey
→ Input<String?>?
-
Element of the JWT assertion to use for the user name. Default is
sub.
final