Skip to main content
1Password Environments allow you to organize and manage your project’s environment secrets, separately from the rest of the items in your 1Password vaults. You can create an Environment for each project or development stage, then securely access your secrets directly from 1Password when you need them. Learn more about 1Password Environments.

Subcommands

environment secret

Secrets are addressed by name. Concealed secrets’ values are withheld unless you pass the --reveal flag.

Subcommands

environment secret list

List the secrets in a 1Password Environment.

Flags

Specify the Environment by name or ID. Returns each secret’s name, value and whether it’s concealed. Secrets are addressed by name, so no secret identifier is returned. Concealed secrets’ values are withheld unless you pass the --reveal flag.

Examples

List the secrets in an Environment by ID:
List the secrets in an Environment by name:
Reveal the concealed secrets’ values:
Get the secrets as dotenv: