pinset
中文
Environment and keys

pinset env init

Create an encrypted profile for development, testing or another environment.

View source on GitHub ↗

When to use

Use for the first environment or another set of variables. Add values with env set, switch with env use.

Examples

pinset env init dev

Result: creates .pinset/env/dev.env and registers public recipients. Next, run pinset env set API_TOKEN --profile dev.

Behavior

Writes ciphertext, configuration and transaction state, and refreshes local trust. No network access. Identities normally use the system credential store; no private-key file is generated. Existing profiles require valid trust before editing.

Parameters, exit codes and common errors

ParameterMeaning
<profile>Name such as dev.

Success exits 0; failure exits 1. PINSET_PROFILE_EXISTS means the name is taken. Review stale trust before env trust add.

/en/docs/commands/env-initDocumented version · Pinset 3.1.0