---
title: esc env open-request | CLI commands
url: /docs/esc/cli/commands/esc_env_open-request/
---

Create a request for opening a protected environment.

## Synopsis

Create a request for opening a protected environment with the given name.

This command creates a request to open a protected environment. The request must be
approved before the environment can be accessed.

```
esc env open-request [<org-name>/][/]<environment-name>[@<version>] [flags]
```

## Options

```
      --access-duration-seconds duration    duration of access in seconds (default 72h0m0s)
      --grant-expiration-seconds duration   expiration time for the grant in seconds (default 25h0m0s)
  -h, --help                                help for open-request
      --output string                       output format: "text" (default) or "json" (default "text")
```

## Options inherited from parent commands

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

## SEE ALSO

* [esc env](/docs/esc/cli/commands/esc_env/)	 - Manage environments


