yera.cli.commands.export

Credential-group export operations.

Symbols

def cred_group — Export a credential group as a portable protected-store document.

cred_group

cred_group(
    name: str,
    output_file: Annotated[Path | None, Parameter(name=['--output-file'])] = None,
    ctx: Annotated[AppContext, Parameter(parse=False, show=False)],
) → None

Export a credential group as a portable protected-store document.

Parameters

name
type: str

Credential group name to export.

output_file
type: Annotated[Path | None, Parameter(name=['--output-file'])] = None

Path to write the exported JSON. Uses atomic writing with restricted permissions on POSIX. Omit to write to standard output.