Module Values_1.OAuthClientCredentialsSource

The OAuth 2.0 client credentials used for authenticating a data source connection. Use this structure to provide a client ID, client secret, and username directly instead of referencing a secret stored in Amazon Secrets Manager. This structure supports data sources that use two-legged OAuth (2LO) authentication, such as Snowflake.

Sourcetype nonrec t = {
  1. clientId : OAuthClientId.t option;
    (*

    The client ID of the OAuth 2.0 application that is registered with the data source provider.

    *)
  2. clientSecret : OAuthClientSecret.t option;
    (*

    The client secret of the OAuth 2.0 application that is registered with the data source provider.

    *)
  3. username : OAuthUsername.t option;
    (*

    The username of the account that is used for OAuth 2.0 client credentials authentication with the data source provider.

    *)
}
Sourceval make : ?clientId:??? -> ?clientSecret:??? -> ?username:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of OAuthClientId.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