# devbox secrets set
Source: https://www.jetify.com/docs/docs/devbox/cli-reference/devbox-secrets-set/index

Securely store one or more environment variables

## Synopsis[​](#synopsis "Direct link to Synopsis")

Securely store one or more environment variables.

```bash theme={null}
devbox secrets set <NAME1>=<value1> [<NAME2>=<value2>]... [flags]
```

## Options[​](#options "Direct link to Options")

```
--environment string   Environment name (e.g. dev, prod)
                       (default "dev")
-h, --help             help for set
--org-id string        Organization id to namespace secrets by
--project-id string    Project id to namespace secrets by
```

## SEE ALSO[​](#see-also "Direct link to SEE ALSO")

* [devbox-secrets](/docs/devbox/cli-reference/devbox-secrets/) - Manage environment variables and
  secrets

[Edit this page](https://github.com/jetify-com/devbox/tree/main/docs/app/docs/cli-reference/devbox-secrets-set.md)