/AWS1/CL_QSTOAUTHCLIENTCREDS¶
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.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_clientid TYPE /AWS1/QSTOAUTHCLIENTID /AWS1/QSTOAUTHCLIENTID¶
The client ID of the OAuth 2.0 application that is registered with the data source provider.
iv_clientsecret TYPE /AWS1/QSTOAUTHCLIENTSECRET /AWS1/QSTOAUTHCLIENTSECRET¶
The client secret of the OAuth 2.0 application that is registered with the data source provider.
iv_username TYPE /AWS1/QSTOAUTHUSERNAME /AWS1/QSTOAUTHUSERNAME¶
The username of the account that is used for OAuth 2.0 client credentials authentication with the data source provider.
Queryable Attributes¶
ClientId¶
The client ID of the OAuth 2.0 application that is registered with the data source provider.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CLIENTID() |
Getter for CLIENTID, with configurable default |
ASK_CLIENTID() |
Getter for CLIENTID w/ exceptions if field has no value |
HAS_CLIENTID() |
Determine if CLIENTID has a value |
ClientSecret¶
The client secret of the OAuth 2.0 application that is registered with the data source provider.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CLIENTSECRET() |
Getter for CLIENTSECRET, with configurable default |
ASK_CLIENTSECRET() |
Getter for CLIENTSECRET w/ exceptions if field has no value |
HAS_CLIENTSECRET() |
Determine if CLIENTSECRET has a value |
Username¶
The username of the account that is used for OAuth 2.0 client credentials authentication with the data source provider.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_USERNAME() |
Getter for USERNAME, with configurable default |
ASK_USERNAME() |
Getter for USERNAME w/ exceptions if field has no value |
HAS_USERNAME() |
Determine if USERNAME has a value |