From 3c64f436f36d1b6c2e257197005c68c8ff7c7b47 Mon Sep 17 00:00:00 2001 From: Mariana Caetano Pereira <67270558+Mariana-Caetano@users.noreply.github.com> Date: Fri, 2 Aug 2024 12:24:20 -0300 Subject: [PATCH 1/2] fix(setting-up-secrets.md): private environment file --- docs/how-to-guides/webops/security/setting-up-secrets.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/how-to-guides/webops/security/setting-up-secrets.md b/docs/how-to-guides/webops/security/setting-up-secrets.md index 5cabdeb43..2dbc6e1f2 100644 --- a/docs/how-to-guides/webops/security/setting-up-secrets.md +++ b/docs/how-to-guides/webops/security/setting-up-secrets.md @@ -42,13 +42,14 @@ Before proceeding any further with this guide, make sure you have: ### Step 2 - Setting up your VTEX account to accept secrets 1. Change the current directory to your FastStore’s repository root. -2. In the root of your project, create the `vtex.env` file and keep it empty. - - - Skip this step if your project already has the `vtex.env` file. +2. In the root of your project, create an empty file named `{fileName}.env` to store private environment variables. ```sh - touch vtex.env + touch {fileName}.env ``` + :::caution + ️Replace `{fileName}` with the desired name for your environment file, such as `private.env`. + ::: 3. Now, run the following command to configure your VTEX account and your FastStore project to be able to save Secrets. From c0026db9b51dae66bc5aaaaef772a7e2360728af Mon Sep 17 00:00:00 2001 From: Mariana Caetano Pereira <67270558+Mariana-Caetano@users.noreply.github.com> Date: Fri, 2 Aug 2024 15:00:56 -0300 Subject: [PATCH 2/2] Apply suggestions from code review --- docs/how-to-guides/webops/security/setting-up-secrets.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/how-to-guides/webops/security/setting-up-secrets.md b/docs/how-to-guides/webops/security/setting-up-secrets.md index 2dbc6e1f2..692d6faee 100644 --- a/docs/how-to-guides/webops/security/setting-up-secrets.md +++ b/docs/how-to-guides/webops/security/setting-up-secrets.md @@ -42,14 +42,11 @@ Before proceeding any further with this guide, make sure you have: ### Step 2 - Setting up your VTEX account to accept secrets 1. Change the current directory to your FastStore’s repository root. -2. In the root of your project, create an empty file named `{fileName}.env` to store private environment variables. +2. In the root of your project, create an empty file named `.env` to store private environment variables. ```sh - touch {fileName}.env + touch .env ``` - :::caution - ️Replace `{fileName}` with the desired name for your environment file, such as `private.env`. - ::: 3. Now, run the following command to configure your VTEX account and your FastStore project to be able to save Secrets.