Skip to main content
onePassword.getEnvironmentVariables reads every variable assigned from a 1Password Environment. This action requires a service-account connection.

Example

automations/onepassword-get-environment-variables.automation.ts

Inputs

Provide the Environment ID. It must have been assigned when the immutable service account was created. Every input accepts a compatible signal. Account-backed actions accept an optional second argument { account } to select a named binding.

Output

Returns { variables } with each name, value, and masked flag. The output is sensitive.