Read key usage
Shows where a key is in use, whether Delete key can retire it (canDelete), and what signs with its certificate chain, so whether Delete certificate chain can remove the chain (certificateChainUses, canDeleteCertificateChain). Check it before you retire a key or change its certificate chain.
The report lists the credential definitions and presentation definitions that sign with the key and the status lists of those credential definitions, last changed first. It counts the uses by the signed issuer metadata and the wallet provider configurations, and the issuances and verifications in progress. It covers the organisation and its sandbox organisations (a sandbox organisation signs with the keys of its main organisation), the same scope as the retirement check. With search, the lists and their counts keep only the matching definitions and the status lists of the kept credential definitions; the other members always cover every use. A retired key gives 404, and so does the wallet key of the organisation while it has no certificate chain.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
keys:read
Path parameters
keyId stringrequiredThe
keyIdof a key of the organisation, from List keys or from the answer of Create key. It is also thekidof its JWK.
Query parameters
searchstringKeeps the credential and presentation definitions whose name or ID contains the text, and the status lists of the kept credential definitions. Case insensitive; an ID also matches without its hyphens. At most 128 characters. The other counts and
canDeletealways cover every use of the key.At most 128 characters.
Response
The usage report of the key.
keyId stringThe key ID.
Example:
"3f2a91c47b8d4e6fa0c5d7e18b924f30"hasCertificates booleantruewhen the key has a certificate chain.Example:
truecredentialDefinitions objectThe credential definitions that sign with the key (one of their configurations or the definition itself).
presentationDefinitions objectThe presentation definitions that sign their requests with the key.
statusLists objectThe status lists that sign with the key.
signedIssuer Metadata objectThe issuer configurations that sign their credential issuer metadata with the key.
walletProvider Configurations objectThe wallet provider configurations that sign their attestations with the key.
issuanceRecords In Flight objectThe issuance histories in progress that sign with the key.
verificationRecords In Flight objectThe verifications in progress that sign with the key.
canDelete booleantruewhen nothing uses the key, so Delete key can retire it. Alwaysfalsefor the wallet key of the organisation, which is never deleted. Always computed over every use, also withsearch.Example:
falsesystemManaged Definitions integerThe number of the credential definitions and presentation definitions that sign with the key and that the platform manages (a definition of an extension or of a Passwordless Login client). Always computed over every use, also with
search.Example:
1certificateChain Uses objectThe uses that sign with the certificate chain of the key (the uses with
cryptographicKeyFormatx509). Always computed over every use, also withsearch.canDelete Certificate Chain booleantruewhen no use signs with the certificate chain, so Delete certificate chain can remove it. Withfalse, that call gives409certificate.chain_in_use.Example:
false