You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/[platform]/deploy-and-host/fullstack-branching/secrets-and-vars/index.mdx
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,13 @@ build:
136
136
- npm run build
137
137
```
138
138
139
+
<Callout warning>
140
+
141
+
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.
142
+
143
+
</Callout>
144
+
145
+
139
146
<Callout info>
140
147
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.
0 commit comments