Environment and keys
pinset env unset
Remove one variable from an encrypted profile while retaining other values.
View source on GitHub ↗When to use
Use for retired variables. Change values with env set; delete environments with env remove.
Examples
pinset env unset API_TOKEN --profile dev
Illustrative output: removed: yes; an absent variable produces removed: no.
Behavior
Requires trust, decryption access and explicit owner authorization. Updates ciphertext and state transactionally; no other plaintext output or network access. Historical ciphertext may remain in Git.
Parameters, exit codes and common errors
| Parameter | Meaning |
|---|---|
<name> | Variable to remove. |
--profile <profile> | Required target. |
Success, including an absent variable, exits 0; failure exits 1. Check profile names for PINSET_PROFILE_MISSING and identity access for decryption failures.
/en/docs/commands/env-unsetDocumented version · Pinset 3.1.0