pinset2.1
中文
Encrypted project environment commands

pinset env identity create

Generate an additional age X25519 identity and print its ID plus public recipient.

View source on GitHub
FieldDescription
PurposeGenerate an additional age X25519 identity and print its ID plus public recipient.
Syntax and argumentspinset env identity create [--output <path>]. Without --output, the private identity is stored in the system keyring; with it, a new passphrase-protected identity file is created.
Modifies stateYes. Writes the keyring and local identity metadata, or creates the protected output file.
Examplepinset env identity create
JSONNo. The printed age1... recipient is public; the private identity is never printed.
Key errorsKeyring unavailable, output exists, passphrase confirmation mismatch, permission failure, or cryptographic failure.

Use the printed recipient with env recipient add. Creating an identity alone does not grant it access to an existing profile.

/en/docs/commands/env-identity-createPinset 2.1