Yera Patch
The patch command merges credential leaves into an existing path without
touching sibling keys. Unlike put creds, which replaces an entire subtree,
patch creds performs a shallow merge — only the keys present in the supplied
JSON are written or updated. Use it when you need to update one or two
credentials within a namespace without disturbing the rest.
yera patch
Merge credential leaves without deleting siblings.
yera patch creds
Merge credential leaves into a path without disturbing siblings.
Args:
path: Dotted path prefix to merge into.
json_str: Inline JSON object to merge.
from_file: Path to a JSON file to read from. Use ``-`` for stdin.
yera patch creds PATH [JSON_STR] [--from-file STR]Arguments
PATH
type: str (required)
Dotted path prefix to merge into.
JSON_STR
type: str = None
Inline JSON object to merge.
Options
--from-file
type: str = None
Path to a JSON file to read from. Use - for stdin.