pinset2.1
中文
Encrypted project environment commands

pinset env identity export

Export a keyring identity as plaintext, primarily for an explicitly protected CI secret.

View source on GitHub
FieldDescription
PurposeExport a keyring identity as plaintext, primarily for an explicitly protected CI secret.
Syntax and argumentspinset env identity export <id> --output <path> --allow-plaintext.
Modifies stateYes. Creates a new current-user-only plaintext file and never overwrites.
Examplepinset env identity export 4c5652e4-... --output ./ci-identity.txt --allow-plaintext
JSONNo.
Key errorsMissing consent flag, unknown ID, keyring failure, existing output, or permission-hardening failure.

Copy the file contents into the CI secret, then securely remove the file. Never commit it or pass the private identity as a command-line argument.

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