Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2023-10-07 07:37:08 +00:00
---
title: "esc env"
2023-10-09 07:17:56 +00:00
menu:
esc_cli:
parent: commands
2023-10-07 07:37:08 +00:00
---
Manage environments
## Synopsis
Manage environments
An environment is a named collection of possibly-secret, possibly-dynamic data.
Each environment has a definition and may be opened in order to access its contents.
Opening an environment may involve generating new dynamic data.
To begin working with environments, run the `env init` command:
env init
This will prompt you to create a new environment to hold secrets and configuration.
2023-10-09 21:29:05 +00:00
For more information, please visit the project page: https://www.pulumi.com/docs/pulumi-cloud/esc
2023-10-07 07:37:08 +00:00
## Options
```
--env string The name of the environment to operate on.
-h, --help help for env
```
## SEE ALSO
2023-10-09 07:17:56 +00:00
* [esc](/docs/esc-cli/commands/esc/) - Pulumi ESC command line
* [esc env edit](/docs/esc-cli/commands/esc_env_edit/) - Edit an environment definition
* [esc env get](/docs/esc-cli/commands/esc_env_get/) - Get a value within an environment.
* [esc env init](/docs/esc-cli/commands/esc_env_init/) - Create an empty environment with the given name.
* [esc env ls](/docs/esc-cli/commands/esc_env_ls/) - List environments.
2023-10-10 22:28:36 +00:00
* [esc env open](/docs/esc-cli/commands/esc_open/) - Open the environment with the given name.
2023-10-09 07:17:56 +00:00
* [esc env rm](/docs/esc-cli/commands/esc_env_rm/) - Remove an environment or a value from an environment.
2023-10-10 22:28:36 +00:00
* [esc env run](/docs/esc-cli/commands/esc_run/) - Open the environment with the given name and run a command.
2023-10-09 07:17:56 +00:00
* [esc env set](/docs/esc-cli/commands/esc_env_set/) - Set a value within an environment.
###### Auto generated by spf13/cobra on 9-Oct-2023