environment_get_variable
Retrieve a named environment variable from 1Password with its value redacted. For injecting secrets into processes, use op_script_run with envSecretRefs instead.
Instructions
Get one 1Password Environment variable by exact name, with the value redacted. When a secret is needed only by a command or local script, prefer op_script_run with envSecretRefs so the secret is injected into the child process and never returned in plaintext.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environmentId | Yes | ||
| name | Yes |