Fires once for each key when listing keys.
func onKeyList(name: String, versionId: String, keyType: String, keyOps: String, enabled: Bool, creationDate: Int64, updateDate: Int64, deletionDate: Int64, purgeDate: Int64, publicKey: String)
This event fires once for each key (or key version) returned when ListKeys, ListVersions, or GetKeyInfo is called. However, note that the KeyOps, KeyType, PublicKey, and (for ListKeys) VersionId parameters are not populated when one of the listing methods is called unless the IncludeKeyDetails property is enabled; refer to its documentation for more information.
Name reflects the name of the key.
VersionId reflects the Id of the key version.
KeyType reflects the key's type. Each key type has two variants, a software-based one and an HSM-based one. Possible values are shown in the first two columns of the following table:
|EC_P256||EC_HSM_P256||The NIST P-256 curve (SECP256R1).|
|EC_P256K||EC_HSM_P256K||The SECP256K1 curve.|
|EC_P384||EC_HSM_P384||The NIST P-384 curve (SECP384R1).|
|EC_P521||EC_HSM_P521||The NIST P-521 curve (SECP521R1).|
|RSA_2048||RSA_HSM_2048||2048-bit RSA key.|
|RSA_3072||RSA_HSM_3072||3072-bit RSA key.|
|RSA_4096||RSA_HSM_4096||4096-bit RSA key.|
KeyOps reflects a comma-separated list of operations that the key may be used for. Possible values are:
Enabled reflects whether the key is currently enabled.
CreationDate reflects the key's creation date, in seconds since the Unix epoch.
UpdateDate reflects the key's update date, in seconds since the Unix epoch.
DeletionDate reflects the key's deletion date, in seconds since the Unix epoch, or -1 if the key has not been deleted.
PurgeDate reflects the key's purge (i.e., permanent deletion) date, in seconds since the Unix epoch, or -1 if the key has not been deleted.
PublicKey reflects the key's public key, in PEM format.