Skip to content

Commit e717b0b

Browse files
authored
[FF-4322] Update documentation on sdk keys and client tokens, rac obfuscation protection (#675)
* doc: update documentation on sdk keys and client tokens * doc: update sdk-keys.md
1 parent 9e84f16 commit e717b0b

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

docs/sdks/sdk-keys.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,25 @@ From the feature flagging page, you can toggle which environment you are in by c
1212

1313
When Eppo's SDK is initialized, only configurations from flags enabled in that environment will be downloaded. This can help when using flags across a variety of use cases and it's not necessary to download every flag for every instance of the Eppo client. A common example is when different flags are used in mobile and web applications. In this case, you can create separate Web and Mobile environments and use Eppo's UI to manage which flags are active in each.
1414

15+
## Types of SDK keys
16+
There are 3 types of SDK keys - SDK keys itself, Client Tokens and Browser Extension keys. SDK keys and Client Tokens are used by SDKs. Browser Extension keys are used by [Eppo Developer Tools - Chrome Extension](/sdks/developer-tools-extension/). SDK keys and Client Tokens are the same functionality keys, except config always is obfuscated when Client Tokens are used. Therefore, the main application of the Client Tokens is SDK clients requesting configurations for clients such as browsers or mobile applications. Meanwhile, the primary application of the SDK keys is on server side.
17+
1518
## Creating SDK keys
1619

1720
To create an SDK key, navigate to the **Environments** page under **Flags** on the left. Then select **Create** in the top right and select **SDK Key**.
1821

1922
![SDK key setup](/img/feature-flagging/environments/sdk-keys.png)
2023

24+
## Creating Client Tokens
25+
26+
To create a Client Token, navigate to the **Environments** page under **Flags** on the left. Then select **Create** in the top right and select **Client Token**.
27+
28+
![Client Token setup](/img/feature-flagging/environments/client-tokens.png)
29+
30+
In the Client Token creation modal enter key name, select environment, optionaly assign tags to the Client Token and then select **Create** in the bottom right of the modal.
31+
32+
![Client Token setup](/img/feature-flagging/environments/client-token-modal.png)
2133

2234
:::note
23-
SDK Keys are used to deploy feature flags and experiments. They are distinct from [API Keys](/reference/api/), which are used in Eppo’s REST API.
35+
SDK Keys and Client Tokens are used to deploy feature flags and experiments. They are distinct from [API Keys](/reference/api/), which are used in Eppo’s REST API.
2436
:::
135 KB
Loading
227 KB
Loading
209 KB
Loading
11.2 KB
Loading

0 commit comments

Comments
 (0)