Skip to content

Commit 66ec623

Browse files
added security notice following JS guidelines on env variables
1 parent f26d437 commit 66ec623

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/ai-services/agents/includes/quickstart-javascript.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ For example, your connection string may look something like:
6969

7070
Set this connection string as an environment variable named `PROJECT_CONNECTION_STRING` in a `.env` file.
7171

72+
### Security Notice
73+
74+
> **Important**: This quickstart code uses environment variables for sensitive configuration. Never commit your `.env` file to version control by making sure `.env` is listed in your `.gitignore` file.
75+
> _Remember: If you accidentally commit sensitive information, consider those credentials compromised and rotate them immediately._
76+
77+
7278
Next, create an `index.js` file and paste in the code below:
7379

7480
```javascript

0 commit comments

Comments
 (0)