> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-file_key_management_keys.md).

# Information Schema FILE\_KEY\_MANAGEMENT\_KEYS Table

The Information Schema FILES table provides information about files stored in tablespaces, such as those used by the InnoDB storage engine.

{% hint style="info" %}
This table is available from MariaDB Enterprise Server 11.8.
{% endhint %}

The `INFORMATION_SCHEMA.FILE_KEY_MANAGEMENT_KEYS` table lists key ID and latest key version for keys managed by the [file\_key\_management](/docs/server/security/encryption/data-at-rest-encryption/key-management-and-encryption-plugins/file-key-management-encryption-plugin.md) plugin. The table's contents can be queried directly, or viewed using the `SHOW FILE_KEY_MANAGEMENT_KEYS` statement.

You can also can reload the data from the key file into the cache by issuing this statement:

```sql
FLUSH FILE_KEY_MANAGEMENT_KEYS
```

This functionality is provided by the `file_key_management` plugin.

This Information Schema table allows to query the key numbers and key versions which are currently in the cache (which can be different to the file). It also allows to verify which keys are in use when joining the table with [INNODB\_TABLESPACES\_ENCRYPTION](/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-innodb-tables/information-schema-innodb_tablespaces_encryption-table.md).

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>
