1. Docs
  2. Pulumi ESC
  3. ESC CLI
  4. Commands
  5. esc env get

esc env get

    Get a value within an environment.

    Synopsis

    Get a value within an environment

    This command fetches the current definition for the named environment and gets a value within it. The path to the value to set is a Pulumi property path. The value is printed to stdout as YAML.

    esc env get [<org-name>/][<project-name>/]<environment-name>[@<version>] <path> [flags]
    

    Options

      -h, --help           help for get
          --show-secrets   Show static secrets in plaintext rather than ciphertext
          --value string   set to print just the value in the given format. may be 'dotenv', 'json', 'detailed', or 'shell'
    

    Options inherited from parent commands

          --env string   The name of the environment to operate on.
    

    SEE ALSO

    Auto generated by spf13/cobra on 13-Sep-2024
      PulumiUP 2024. Watch On Demand.