Module Values.JWTOptionsInputSource

The JWT authentication and authorization configuration for an Amazon OpenSearch Service domain.

Sourcetype nonrec t = {
  1. enabled : Boolean.t option;
    (*

    True to enable JWT authentication and authorization for a domain.

    *)
  2. subjectKey : SubjectKey.t option;
    (*

    Element of the JWT assertion to use for the user name.

    *)
  3. rolesKey : RolesKey.t option;
    (*

    Element of the JWT assertion to use for roles.

    *)
  4. jwksUrl : JwksUrl.t option;
    (*

    The URL endpoint that hosts the JSON Web Key Set (JWKS) containing public keys used to verify JWT signatures.

    *)
  5. publicKey : String_.t option;
    (*

    Element of the JWT assertion used by the cluster to verify JWT signatures.

    *)
}
Sourceval make : ?enabled:??? -> ?subjectKey:??? -> ?rolesKey:??? -> ?jwksUrl:??? -> ?publicKey:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of SubjectKey.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t