p4 keys

Display list of known key/value pairs.

Syntax

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

Syntax conventions

Description

The Helix Core Server 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

The command returns no output if there is no object to report on.

Related Commands

To view or change the value of a key

p4 key