Skip to content

Commit

Permalink
add callout for branch env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ykethan committed Dec 23, 2024
1 parent 102741e commit 12a94f8
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@ build:
- npm run build
```
<Callout warning>
Note: do not store secret values in environment variables. Environment variables values are rendered in plaintext to the build artifacts and can be accessed by anyone with access to the build artifacts or [get-app](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/amplify/get-app.html) command.
</Callout>
<Callout info>
With the implementation above, the environment variable is written in a `.env` file. However, you can write it to any file depending on your platform.

Expand Down

0 comments on commit 12a94f8

Please sign in to comment.