-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #365 from IABTechLab/gwh-APIDOCS-1871-cstg-api-key…
…s-updates Gwh apidocs 1871 cstg api keys updates
- Loading branch information
Showing
21 changed files
with
96 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
title: UID2 Credentials | ||
description: Learn about the credentials you'll need and how to get them. | ||
hide_table_of_contents: false | ||
sidebar_position: 03 | ||
--- | ||
|
||
# UID2 Credentials | ||
|
||
Each UID2 <a href="/docs/intro#participants">participant</a> gets a set of unique credentials. The set of credentials you get is determined by how you are participating in UID2, as shown in the following table. | ||
|
||
| Audience | Credentials | Integration | | ||
| :--- | :--- | :--- | | ||
| Participants using a server-side endpoint | Both of the following:<ul><li>[API key](../ref-info/glossary-uid.md#gl-api-key), also called a client key</li><li>[Client secret](../ref-info/glossary-uid.md#gl-client-secret), a value known only to the participant and the UID2 service</li></ul> | Any integration using one of these endpoints: <ul><li>[POST /identity/map](../endpoints/post-identity-map.md)</li><li>[POST /identity/buckets](../endpoints/post-identity-buckets.md)</li><li>[POST /token/generate](../endpoints/post-token-generate.md)</li></ul> | | ||
| Participants using a client-side implementation | Both of the following: <ul><li>Subscription ID</li><li>Public key</li></ul> | Integrations using one of these: <ul><li>[Prebid.js Express Integration Guide](../guides/integration-prebid.md)</li><li>[JavaScript Express Integration Guide](../guides/publisher-client-side.md)</li></ul> | | ||
|
||
|
||
|
||
If you're using the integration environment as well as the production environment, you'll get a separate set of credentials for each environment. | ||
|
||
<!-- It includes: | ||
* [API Key and Client Secret](#api-key-and-client-secret) | ||
* [Security of API Key and Client Secret](#security-of-api-key-and-client-secret) | ||
* [Subscription ID and Public Key](#subscription-id-and-public-key) | ||
* [Refreshing Credentials](#refreshing-credentials) | ||
--> | ||
|
||
## API Key and Client Secret | ||
|
||
The API key and client secret allow the participant to connect to the [Operator Service](../ref-info/glossary-uid.md#gl-operator-service) and call API endpoints. These values identify the participant to the service. | ||
|
||
Here is some information about API keys and client secrets: | ||
- One UID2 participant can have multiple keys. | ||
- Each key has a set of permissions that determine which endpoints it can be used on. | ||
- Each key has a corresponding client secret. | ||
- Most API endpoints require both API key and client secret for authentication. For details, see [Authentication and Authorization](gs-auth.md). | ||
- If you're using the integration environment as well as the production environment, you'll require separate API keys for each environment. | ||
|
||
As part of getting your UID2 account set up, one or more API keys, each with a corresponding client secret, will be issued to you. For details of who to talk to, see [Contact Info](gs-account-setup.md#contact-info). | ||
|
||
### Security of API Key and Client Secret | ||
|
||
Security of keys and client secrets is very important. Follow these guidelines: | ||
|
||
- When you receive your API key and client secret, store them in a secure location. | ||
- Keep track of all places where these values are stored and used, so that if you need to rotate the key you can do it quickly. | ||
- Establish a process for replacing the key and secret with new values if the existing ones are compromised. | ||
|
||
We recommend that you refresh your API key and client secret on a regular cadence—for example, yearly—to help reduce the risk of your credentials being compromised. | ||
|
||
## Subscription ID and Public Key | ||
|
||
If you're using a client-side implementation, you'll receive the following credentials: | ||
- **Subscription ID**: This value identifies your site to the UID2 service. | ||
- **Public key**: This value is used for encryption. | ||
|
||
Unlike the API key and client secret, the Subscription ID and public key do not have to be kept secure. | ||
|
||
When you're implementing UID2 on the client side, by using the UID2 JavaScript SDK or Prebid, provide the values to the SDK or to Prebid as part of configuration. | ||
|
||
## Refreshing Credentials | ||
|
||
To request new credentials at any time, ask your UID2 contact. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...cs/current/getting-started/gs-api-keys.md → ...current/getting-started/gs-credentials.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.