A Key object holds a representation of asymmetric keys, either public or private. When Kong Gateway or a Kong plugin requires a specific public or private key to perform certain operations, it can use this entity.
Keys currently support JWK and PEM formats. Both formats carry the same base information, such as the public and private keys, but may allow you to specify additional meta information. For example, the JWK format carries more information than PEM. One key pair can have multiple different representations (JWK or PEM) while being the same key.