p4 keys

Synopsis

Display list of known key/value pairs.

Syntax

p4 [g-opts] keys [-e nameFilter] [-m max]

Description

The Perforce versioning service holds a user-accessible store of key/value pairs. These user-managed keys are stored in a table named db.nameval.

If the dm.keys.hide configurable is set to 1 or 2, admin access is required.

p4 keys provides the current list of keys, along with their values.

Options

-e nameFilter

List keys with a name that matches the nameFilter pattern, for example: p4 keys -e 'mycounter-*'

-m max

List only the first max keys.

g-opts

See “Global Options”.

Usage Notes

Can File Arguments Use Revision Specifier? Can File Arguments Use Revision Range? Minimal Access Level Required

N/A

N/A

list
(admin if dm.keys.hide is set to 1 or 2)

Related Commands

To view or change the value of a key

p4 key