Yera Put

The put command writes credential values into the active credential group. put cred targets a single leaf key and accepts the value as a positional argument, via stdin, or through an interactive password prompt. put creds performs a full replacement of all leaves under a dotted path prefix from a JSON object, removing any keys that were previously stored there but are absent from the new data. Use patch creds instead if you want to update a subset of leaves without touching siblings.

yera put

Write credential leaves.

yera put cred

Set a single credential leaf.

Args:
    key: Exact dotted leaf key.
    value: Credential value. Omit for interactive prompt or stdin.
yera put cred KEY [VALUE]

Arguments

KEY
type: str (required)

Exact dotted leaf key.

VALUE
type: str = None

Credential value. Omit for interactive prompt or stdin.

yera put creds

Replace all credential leaves under a path (full replace).

Args:
    path: Dotted path prefix to replace under.
    json_str: Inline JSON object to write.
    from_file: Path to a JSON file to read from. Use ``-`` for stdin.
yera put creds PATH [JSON_STR] [--from-file STR]

Arguments

PATH
type: str (required)

Dotted path prefix to replace under.

JSON_STR
type: str = None

Inline JSON object to write.

Options

--from-file
type: str = None

Path to a JSON file to read from. Use - for stdin.