-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1add596
commit 0612905
Showing
9 changed files
with
75 additions
and
4 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 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,70 @@ | ||
--- | ||
title: OpenAI | ||
--- | ||
|
||
*This tutorial provides step-by-step instructions on how to rotate an OpenAI API key.* | ||
|
||
--- | ||
|
||
## Generate a new OpenAI API key | ||
|
||
### Step 1 - Navigate to the API key page | ||
|
||
The API key page is located at https://platform.openai.com/api-keys. | ||
![](/images/openai/1.png) | ||
|
||
### Step 2 - Generate a new API key | ||
|
||
#### 2a. Click on the `Create new secret key` button | ||
|
||
Click the `Create new secret key` button underneath any existing API keys | ||
![](/images/openai/2.png) | ||
|
||
#### 2b. Configure the key | ||
|
||
Within the `Create new secret key` modal, there are two settings: an optional | ||
`Name` field and `Permissions`. Make any necessary modifications and click the | ||
`Create secret key` button. | ||
![](/images/openai/3.png) | ||
|
||
#### 2c. Copy the key | ||
|
||
Upon success, a `Save your key` modal will be displayed. Press the `Copy` button | ||
to place it on your clipboard. | ||
![](/images/openai/4.png) | ||
|
||
--- | ||
|
||
## Replace the original OpenAI API key | ||
|
||
Replace the original OpenAI API key with the new one in all impacted applications | ||
and services. | ||
|
||
--- | ||
|
||
## Revoke the original OpenAI API key | ||
|
||
### Step 1 - Navigate to the API key page | ||
|
||
The API key page is located at https://platform.openai.com/api-keys. | ||
![](/images/openai/5.png) | ||
|
||
### Step 2 - Revoke the OpenAI API key | ||
|
||
#### 2a. Start the revocation process | ||
|
||
Identify the API key to be revoked and click the trash can icon associated with | ||
it. | ||
![](/images/openai/6.png) | ||
|
||
#### 2b. Confirm the revocation | ||
|
||
Within the `Revoke secret key` modal, ensure the correct key is selected and | ||
click the `Revoke key` button. | ||
![](/images/openai/7.png) | ||
|
||
--- | ||
|
||
## Resources | ||
- [OpenAI's API help page](https://help.openai.com/en/collections/3675931-api) | ||
- [OpenAI's Best Practices for API Key Safety](https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.