docs: add instructions to make PAT environment variable sensitive in Vercel deployment (#14)
Added instructions for setting environment variables securely. Signed-off-by: Joey Chen <142381267+JoeyC-Dev@users.noreply.github.com>
This commit is contained in:
@@ -915,9 +915,16 @@ Since the GitHub API only allows 5k requests per hour, my `https://github-readme
|
||||
8. Click the `Continue with GitHub` button, search for the required Git Repository and import it by clicking the `Import` button. Alternatively, you can import a Third-Party Git Repository using the `Import Third-Party Git Repository ->` link at the bottom of the page.
|
||||

|
||||
9. Create a Personal Access Token (PAT) as described in the [previous section](#first-step-get-your-personal-access-token-pat).
|
||||
10. Add the PAT as an environment variable named `PAT_1` (as shown).
|
||||

|
||||
11. Click deploy, and you're good to go. See your domains to use the API!
|
||||
10. Add the PAT as an environment variable named `PAT_1` (as shown).
|
||||

|
||||
Note: For enhanced security, you can add a variable as a sensitive variable. To do this:
|
||||
a. Go to `Environment Variables` in `Project Settings`, then choose `Add Environment Variable`.
|
||||

|
||||
b. Uncheck `Deployment` from `Environments`
|
||||

|
||||
c. Now you can make the variable `Sensitive` by checking the checkbox.
|
||||

|
||||
12. Click deploy, and you're good to go. See your domains to use the API!
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user