Set up OAuth for Card Data Security
After you configure your tokenizer service, follow these steps to set up OAuth connectivity with your ServiceNow instance. This connection is required to get file metadata and download URLs from files hosted in the tokenizer service vault.
Token Authentication in Card Data Security
- Regular tokens—used for authentication in backend connections.
- Context-aware tokens—required for user interactions in the UI, such as viewing documents in the data vault.
Overview of tasks to set up OAuth for Card Data Security
| Name | Connection Alias | Description |
|---|---|---|
| Service Token | CardDataSecurity.ServiceToken | For Vault API interactions and backend requests, such as retrieving file download URLs or external document metadata. |
| Client Token | CardDataSecurity.ClientToken | For obtaining context-aware bearer tokens that are used in detokenization requests. Used for viewing files and revealing PAN values. |
| Data Token Signer | CardDataSecurity.DataTokenSigner | Required for context-aware authorization. Signs data tokens that are used to make detokenization requests to the data vault. Used for revealing PAN values. 注: The steps below differ when setting up a data token
signer. See Set up a Token Signer for specific steps on configuration. |
- Create a JKS file
Generate a Java KeyStore (JKS) file for OAuth authentication setup.
- Create an X.509 Certificate
Create an X.509 certificate record by uploading a JKS file and configuring the certificate settings.
- Set up a JWT key
Configure a JSON Web Token (JWT) key by linking X.509 certificates with tokenizer service credentials.
- Set up a JWT Provider
Configure a JWT Provider by setting up signing configurations and claim values.
- Set up an OAuth Provider
Configure an OAuth provider to establish the necessary connection credentials and JWT configuration.
- Set up the Connection & Credential records
Configure the Vault API connection to establish the endpoint URL and vault ID required for data tokenization operations.
- Set up an OAuth Credential
Create an OAuth 2.0 credential to enable secure authentication for Card Data Security integrations.
- Set up the OAuth Vault API REST message
Configure the Data Security Vault API REST message with the correct endpoint URL and OAuth authentication profile.