# keyinfo: License Key Properties

The `keyinfo` utility allows viewing license key properties and checking if a given key can be applied to a particular Plesk version.

## Usage

    keyinfo <command> [<param>]

## Example

The following command checks if a license key stored in `/tmp/server.key` is valid for the current Plesk version:

    plesk bin keyinfo --test-key /tmp/server.key

## Commands

Command | Parameter | Description | Example
--- | --- | --- | ---
`--info` or `-i` | `<key>` | Displays the value of a key property. | To display information on availability of shell access:
    plesk bin keyinfo --info key_shell
or
    plesk bin keyinfo -i key_shell
`--list` or `-l` |  | Lists key properties and values. | To print the list of key properties and values:
    plesk bin keyinfo --list
or
    plesk bin keyinfo -l
`--test-key` or `-t` | `<file>` | Checks if a key is valid for the current Plesk version. | To test the license key from /`tmp/server.key`:
    plesk bin keyinfo --test-key /tmp/server.key
or
    plesk bin keyinfo -t /tmp/server.key
`--help` or `-h` |  | Displays help on the use of the utility. | To view help on the use of this utility:
    plesk bin keyinfo --help
or
    plesk bin keyinfo -h