Configuring Integration Credentials
OneTrust supports a number of seeded and custom credential types for external system integration. Read this article to learn more about the supported integrations, authentication methods, grant types, and possible fields you may see when creating credentials for use with OneTrust Integrations.
To create credentials
When you select your desired system, the OneTrust application can populate fields for many systems with their most commonly used credential type(s) and related fields to assist with configuration. In addition, you can test the connection status of the credential when editing the credential details.
Not all systems will be supported with auto-populated fields.
To test credentials after creation
To edit credentials
To delete credentials
Web Apps Fields
The table below lists the possible fields which may populate based on the system selection.
- Field
- Description
- Credential Name
-
Enter a name to identify the credentials.
- Description
-
Enter a description of the credentials.
- Application type
-
Select Web App.
- Authentication method
-
Select the applicable authentication type required for your web app integration (e.g. OAuth 2.0). For more information on these types, see Supported Web App Authentication Methods.
- Protocol
-
Defaults to HTTPS.
- Hostname
-
Enter the hostname for the credential. When a credential is associated to a workflow action, the hostname will be the default domain for this action. If a previous domain has been specified on the action, the hostname will replace that domain.
- Test URL
-
Enter a test URL for the new credential.
OneTrust recommends using the Test Credential feature to validate TEST URL field.. This is a valid REST GET URL provided by the attempted system integration. For more information, see Testing Workflow Actions and Saving Sample Payloads.
- Key (Default Header)
-
Select the type of key which should be used in the header of the call made by the connection.
You can add additional keys if your credential requires more than one header.
- Value (Default Header)
-
Enter the value of the key which should be used in the header of the call made by the connection.
- User name
-
Required for Basic authentication.
- Password
-
Required for Basic authentication.
- Access TokenRefresh Token
-
Provide a token value for the credential.
Note:OneTrust supports masking of the Access, Refresh and Bearer tokens. Once the values are generated and saved, they cannot be retrieved from the interface.
If a token is provided by the user, OneTrust will save that token to the credential and call the token endpoint when that access / refresh token expires. If no value is provided by the user during credential creation or when editing the token, OneTrust will call the token endpoint to retrieve an access token.
- Send credentials in
-
Choice of HTTPS Headers or XML Envelope.
- Allow mTLS
-
Enable mutual transport layer security (mTLS) for all credentials using the Web App connector type to establish secure and trusted integrations with external servers. This only applies to outbound integrations made by actions in integration workflows which use this credential type.
For more information, see Setting Up Mutual Transport Layer Security.
- Server Certificate Chain
-
Post a custom server certificate to any HTTPS credential to establish a secure and trusted connection with external systems not using a certificate issued by a trusted authority.
OAuth 2.0 token reuse and retry behavior
OneTrust may reuse a cached OAuth 2.0 access token for integration workflow actions. The cache lifetime can be shorter than the access token lifetime reported by the token issuer.
If the receiving system rejects a cached token as expired or invalid, OneTrust may obtain or use a new token and retry the action. The receiving system may record the failed first attempt even when the retry succeeds.
These authentication and exception entries may be generated in the receiving system's logs rather than in the OneTrust application. If the payload is delivered successfully but the receiving system records repeated token failures, review that system's retry, exception, and alert-logging settings. Contact OneTrust Support if the retry does not deliver the payload, data is lost, or the action remains unsuccessful.
Supported Web App Authentication Methods
|
Authentication Method |
Description |
|---|---|
|
Basic Authentication |
This authentication method only requires a username and password. |
|
Bearer Token |
This authentication method requires an authentication token generated by the external system.
Note:
OneTrust supports masking of the Access, Refresh and Bearer token. Once the values are generated and saved, they cannot be retrieved from the interface. |
|
OAuth 2.0 |
This authentication method requires a secure connection shared between OneTrust and the given system account or instance. There are a number of supported grant types and applicable fields unique to these option. For more information on these grant types, see Using OAuth Grant Types in OneTrust Integrations. For more information on Proof of Possession (POP) tokens, see Generating POP Tokens for OAuth 2.0 Credentials. For more information on authentication options, see Custom Authentication Options for OAuth 2.0 Credentials. |
|
API Key |
This authentication method requires a provision of an API key with an applicable value. You will also need to specify its authentication parameters either sent via the request or the headers. |
|
Custom |
Create and configure custom credentials to account for your authentication and authorization requirements. |
Supported OAuth 2.0 Grant Types
For more information, see Using OAuth Grant Types in OneTrust Integrations.
-
Authorization Code
-
Client Credentials
-
JSON Web Token (JWT)
-
Signed Client Credentials
-
Password Credentials
-
Refresh Token
Database Credentials
Choose this application type to connect directly to a database, which requires details like host, username and password, name, and port. OneTrust supports the following database types:
-
MS SQL Server
-
PostgreSQL
-
MySQL
-
SAP HANA
-
Oracle
-
Snowflake
Note:Snowflake Database Connection is available as a Public Preview feature. Offers provision of a key-value pair for more secure authentication over basic auth (username/password), which will be deprecated by Snowflake soon.
For more information, see Key-Pair Authentication for Snowflake Integration Credentials and Snowflake's Planning for the deprecation of single-factor password sign-ins.
Simple Connect Credentials
Alternatively, to avoid supplying technical details from your system's console, you can choose the Simple Connect method. Limited currently to Azure AD, this credential type helps authorize faster by accessing the system tenant directly for this information. The requesting user must have the necessary authorization to access the tenant. Some systems, like Okta, are simple username/password requirements, while others will require approved organization access.
This is best used for first-time adoption. To leverage more secure credentials, OneTrust recommends the Custom option in order to provide these technical details.
For more details on using this credential option, see Azure AD Scan Assets Wizard.
SOAP API Credentials
You will need to create credentials for the system when configuring integration workflows with SOAP calls. These credentials can be any authentication methods which are supported by your system.
XML Envelope Options
You can send usernames and passwords in SOAP envelopes via Basic Authentication and any form of OAuth 2.0, which sends the token in the SOAP envelope rather than in the HTTPS headers. You will need to select XML Envelope in the Send Credentials In field during credential setup.
For more information, see Using SOAP APIs in OneTrust Integrations.