Yera Export

The export command serialises a named credential group to a self-contained JSON document, replacing its authorised_roots with ["*"] so the output can be imported on any machine without path-matching errors. Use it to provision credentials in CI environments or to transfer a credential group to a new workstation. The export respects the same authorisation check as credential reads, so the current project root must be authorised before the command will produce output.

yera export

Export credential groups as portable JSON.

yera export cred-group

Export a named credential group as self-contained JSON with authorised_roots → ["*"].

Args:
    name: Credential group name to export.
    output_file: Path to write the exported JSON. Uses atomic write with 0600
        permissions on POSIX. Omit to write to stdout.
yera export cred-group NAME [--output-file PATH]

Arguments

NAME
type: str (required)

Credential group name to export.

Options

--output-file
type: Path = None

Path to write the exported JSON. Uses atomic write with 0600 permissions on POSIX. Omit to write to stdout.