Config Commands

Manage projects, aliases, and CLI defaults.

project

Set the default project for the current vault. When set, commands that need a project use this one automatically.

# Set default project
sikkerkey project production

# Clear default
sikkerkey project --clear

You can override the default on any command with --project <name>.

rename

Rename the local alias for a vault or project. This is a local-only change and does not affect anything on the server.

# Rename a vault alias
sikkerkey rename vault prod my-production

# Rename a project alias
sikkerkey rename project staging staging-v2

delete

Remove a vault or project from CLI config.

# Remove a vault's CLI config (not the machine identity)
sikkerkey delete vault prod

# Remove a project from CLI config (locks the project)
sikkerkey delete project staging

Vault deletion removes the vault directory including CLI config and identity files. Project deletion only removes the project from CLI config -- it does not affect the server-side project.