Yera Rename

The rename command renames a credential group in credentials.json, preserving its credentials and authorised roots under the new name. The operation is atomic — either the rename completes fully or the store is left unchanged. After renaming, update any [tool.yera.overrides] cred-group references in pyproject.toml files that pointed at the old name.

yera rename

Rename credential groups.

yera rename cred-group

Atomically rename a credential group in credentials.json.

Args:
    old_name: Existing credential group name.
    new_name: New credential group name. Must pass name validation.
yera rename cred-group OLD_NAME NEW_NAME

Arguments

OLD_NAME
type: str (required)

Existing credential group name.

NEW_NAME
type: str (required)

New credential group name. Must pass name validation.