diff --git a/src/content/docs/en/pages/devtools/cli/azion-cli/commands/create/create.mdx b/src/content/docs/en/pages/devtools/cli/azion-cli/commands/create/create.mdx index d6fa2dab8d..05e1f5e12d 100644 --- a/src/content/docs/en/pages/devtools/cli/azion-cli/commands/create/create.mdx +++ b/src/content/docs/en/pages/devtools/cli/azion-cli/commands/create/create.mdx @@ -537,6 +537,21 @@ The `--value` flag provides the variable's value. The `--secret` flag indicates whether the value is meant to be confidential. The default value is `true`. +:::note +Variables with names containing the following substrings will be sent as **secrets** to the Azion environment by default: + + - password + - pwd + - secret + - key + - hash + - encrypted + - passcode + - auth + - token + - secret +::: + #### Optional flags #### file diff --git a/src/content/docs/en/pages/devtools/cli/azion-cli/commands/sync/sync.mdx b/src/content/docs/en/pages/devtools/cli/azion-cli/commands/sync/sync.mdx index 5a808b2628..724aa2c78d 100644 --- a/src/content/docs/en/pages/devtools/cli/azion-cli/commands/sync/sync.mdx +++ b/src/content/docs/en/pages/devtools/cli/azion-cli/commands/sync/sync.mdx @@ -26,3 +26,22 @@ The `--config-dir` option is used to specify the relative path to where your cus #### help The `--help` option displays more information about the `sync` command. + +#### env + +The `--env` option is used to specify the relative path to where your custom `.env` file is stored. The default is `.edge/.env`. + +:::note +In your `.env` file, variables with names containing the following substrings will be sent as **secrets** to the Azion environment: + + - password + - pwd + - secret + - key + - hash + - encrypted + - passcode + - auth + - token + - secret +::: diff --git a/src/content/docs/pt-br/pages/devtools/cli/azion-cli/comandos/create/create.mdx b/src/content/docs/pt-br/pages/devtools/cli/azion-cli/comandos/create/create.mdx index 432c4cebfa..c8c799c9ba 100644 --- a/src/content/docs/pt-br/pages/devtools/cli/azion-cli/comandos/create/create.mdx +++ b/src/content/docs/pt-br/pages/devtools/cli/azion-cli/comandos/create/create.mdx @@ -533,6 +533,21 @@ A flag `--value` fornece o valor da variável. A flag `--secret` indica se o valor deve ser confidencial. O valor padrão é `true`. +:::note +Variáveis com nomes contendo as seguintes substrings serão enviadas como **secrets** para o ambiente da Azion por padrão: + + - password + - pwd + - secret + - key + - hash + - encrypted + - passoce + - auth + - token + - secret +::: + #### Flags opcionais ##### file diff --git a/src/content/docs/pt-br/pages/devtools/cli/azion-cli/comandos/sync/sync.mdx b/src/content/docs/pt-br/pages/devtools/cli/azion-cli/comandos/sync/sync.mdx index daeda465ed..bbdb76333d 100644 --- a/src/content/docs/pt-br/pages/devtools/cli/azion-cli/comandos/sync/sync.mdx +++ b/src/content/docs/pt-br/pages/devtools/cli/azion-cli/comandos/sync/sync.mdx @@ -30,3 +30,22 @@ A opção `--config-dir` é usada para especificar o caminho relativo onde seus #### help A opção `--help` exibe mais informações sobre o comando `sync`. + +#### env + +A opção `--env` é usada para especificar o caminho relativo onde seu arquivo `.env` personalizado está armazenado. O padrão é `.edge/.env`. + +:::note +Em seu arquivo `.env`, variáveis com nomes contendo as seguintes substrings serão enviadas como **secrets** para o ambiente da Azion: + + - password + - pwd + - secret + - key + - hash + - encrypted + - passoce + - auth + - token + - secret +:::