Environment Commands
Commands for managing environment variables and secrets in Agentuity projects
The env
commands allow you to manage environment variables and secrets for your Agentuity projects.
env set
Sets environment variables or secrets for a project.
Usage
Aliases
agentuity set
(shortcut for agentuity env set
)
agentuity env add
, agentuity env put
Flags
Flag | Description |
---|---|
--dir , -d | The directory to the project |
--file , -f | The path to a file containing environment variables to set |
--secret , -s | Force the value(s) to be treated as a secret |
--force | Don't prompt for confirmation |
Examples
Set a single environment variable:
Set a secret:
Set environment variables from a file:
All environment and secret values are encrypted at rest and in transit.
env list
Lists all environment variables and secrets for a project.
Usage
Aliases
agentuity list
(shortcut for agentuity env list
)
agentuity env ls
, agentuity env show
, agentuity env print
Flags
Flag | Description |
---|---|
--dir , -d | The directory to the project |
Examples
env get
Gets the value of an environment variable or secret.
Aliases
agentuity get
(shortcut for agentuity env get
)
Usage
Flags
Flag | Description |
---|---|
--dir , -d | The directory to the project |
Examples
env delete
Deletes environment variables or secrets.
Usage
Aliases
agentuity delete
(shortcut for agentuity env delete
)
agentuity env rm
, agentuity env del
Flags
Flag | Description |
---|---|
--dir , -d | The directory to the project |
--force | Don't prompt for confirmation |
Examples
Delete a single environment variable:
Delete multiple environment variables: