Skip to content

Commit

Permalink
Merge pull request #7186 from braze-inc/internetisaiah-patch-3
Browse files Browse the repository at this point in the history
Update sdk_authentication.md
  • Loading branch information
internetisaiah committed Apr 8, 2024
2 parents 8225ab5 + 7ae2c8d commit 5496542
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions _docs/_developer_guide/platform_wide/sdk_authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,18 +353,32 @@ braze.setBrazeSdkAuthenticationErrorCallback((BrazeSdkAuthenticationError error)
{% endtab %}
{% endtabs %}

## Adding public keys {#key-management}
## Managing public keys {#key-management}

In the **Manage Settings** page of the dashboard, add your public key to a specific app in the Braze dashboard. Each app supports up to three public keys. Note that the same public and private keys may be used across apps.
### Adding a public key

To add a public key:
You can add up to three public keys for each app: a primary, a seconday, and a tertiary. You can also add the same key to more than one app if needed. To add a public key:

1. Choose the app from the list of available apps.
2. Under **SDK Authentication**, click **Add Public Key**.
3. Paste in the public key, and add an optional description.
4. After saving your changes, the key will appear in the list of public keys.
1. Go to the Braze dashboard and select **Settings** > **App Settings**.
2. Choose an app from your list of available apps.
3. Under **SDK Authentication**, select **Add Public Key**.
4. Enter an optional description, paste in your public key, then select **Add Public Key**.

To delete a key, or to promote a key to the primary key, choose the corresponding action in the overflow menu next to each key.
### Assign a new primary key

To assign a secondary or tertiary key as your new primary key:

1. Go to the Braze dashboard and select **Settings** > **App Settings**.
2. Choose an app from your list of available apps.
3. Under **SDK Authentication**, choose a key and select **Manage** > **Make Primary Key**.

### Deleting a key

To delete a primary key, first [assign a new primary](#assign-a-new-primary-key), then delete your key. To delete a non-primary key:

1. Go to the Braze dashboard and select **Settings** > **App Settings**.
2. Choose an app from your list of available apps.
3. Under **SDK Authentication**, choose a non-primary key and select **Manage** > **Delete Public Key**.

## Enabling in the Braze dashboard {#braze-dashboard}

Expand Down

0 comments on commit 5496542

Please sign in to comment.