Module Values.OAuth2ClientCredentialConfigurationSource

Information about the OAuth 2.0 authentication credential/token used to configure a plugin.

Sourcetype nonrec t = {
  1. secretArn : SecretArn.t;
    (*

    The ARN of the Secrets Manager secret that stores the OAuth 2.0 credentials/token used for plugin configuration.

    *)
  2. roleArn : RoleArn.t;
    (*

    The ARN of an IAM role used by Amazon Q Business to access the OAuth 2.0 authentication credentials stored in a Secrets Manager secret.

    *)
  3. authorizationUrl : Url.t option;
    (*

    The redirect URL required by the OAuth 2.0 protocol for Amazon Q Business to authenticate a plugin user through a third party authentication server.

    *)
  4. tokenUrl : Url.t option;
    (*

    The URL required by the OAuth 2.0 protocol to exchange an end user authorization code for an access token.

    *)
}
Sourceval context_ : string
Sourceval make : ?authorizationUrl:??? -> ?tokenUrl:??? -> secretArn:SecretArn.t -> roleArn:RoleArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of SecretArn.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