view

View the version history of a secret.

The history view command shows all versions of a secret with timestamps and who made each change. This provides a complete audit trail for any secret.

Usage#

redenv history view [key]

Arguments#

NameRequiredDescription
keyNoSecret to view history for (interactive if omitted)

Options#

FlagDescription
-p, --project <name>Project name
-e, --env <env>Environment name

Examples#

# View history for a specific key
redenv history view API_KEY

# View history interactively (select key from list)
redenv history view

# View history from specific project/environment
redenv history view DATABASE_URL --project my-app --env production

Interactive Flow#

$ redenv history view

? Select a project: my-app
? Select an environment: development
? Enter your Master Password: ********
 Fetching keys for selection...
? Select a secret to view its history:
 API_KEY
  DATABASE_URL
  SECRET_KEY

 Fetching history...
 Found 3 version(s) for "API_KEY".
VersionTimestampUserValue
32/1/2026, 3:00 PMdev@examplesk_latest
21/15/2026, 4:00 PMdev@examplesk_old_value
11/10/2026, 2:30 PMdev@examplesk_original

Output Columns#

ColumnDescription
VersionVersion number (newest first)
TimestampWhen this version was created
UserEmail or username who made the change
ValueThe decrypted secret value

Info

The number of versions retained is controlled by history limit. Older versions are automatically pruned when the limit is exceeded.