For the complete documentation index, see llms.txt. This page is also available as Markdown.

Key Management

Create a key for a Wallet

post

Create a new cryptographic key associated with the Wallet. Keys are created using the JOSE JWK standard using attribute strings listed in the JOSE IANA registry.

Depending on the configuration of the service only certain cryptographic keys are supported.

Authorizations
AuthorizationstringOptional
Bearer authentication header of the form Bearer <token>.
Path parameters
walletIdstringRequired
Body
Responses
201

New key successfully created

application/json
post/wallets/{walletId}/keys

Get a key for a Wallet

get

Return the cryptographic key information for a key associated with a Wallet.

The information returned contains only header and public attributes of the key, i.e. not the private key information which is kept in the Wallet. Key information is returned in the JOSE JWK standard using attribute strings listed in the JOSE IANA registry.

Authorizations
AuthorizationstringOptional
Bearer authentication header of the form Bearer <token>.
Path parameters
walletIdstringRequired
keyIdstringRequired
Responses
200

Key successfully loaded

application/json
get/wallets/{walletId}/keys/{keyId}

Delete a key from a Wallet

delete

Delete a key from a Wallet.

Authorizations
AuthorizationstringOptional
Bearer authentication header of the form Bearer <token>.
Path parameters
walletIdstringRequired
keyIdstringRequired
Responses
204

Key successfully removed

No content

delete/wallets/{walletId}/keys/{keyId}

No content

Import a key to a Wallet

post

Import an existing cryptographic key to a Wallet using the JOSE JWK notation.

Depending on the configuration of the service only certain cryptographic keys are supported.

Authorizations
AuthorizationstringOptional
Bearer authentication header of the form Bearer <token>.
Path parameters
walletIdstringRequired
Body
Responses
201

Key has been imported

application/json
post/wallets/{walletId}/keys/import

Sign data with a key from a wallet

post

Create a signature based on data provided using a cryptographic key associated with a Wallet.

Authorizations
AuthorizationstringOptional
Bearer authentication header of the form Bearer <token>.
Path parameters
walletIdstringRequired
keyIdstringRequired
Body
datastringOptional
Responses
201

Key has been created

application/json
signaturestringOptional
post/wallets/{walletId}/keys/{keyId}/sign

Last updated