Skip to main content
Device policy

Create leaked attestation key

POST/v4/config/ows/wallet-provider/individual-wallet-unit-device-policy/leaked-attestation-keys

Adds a leaked attestation key: the SHA-256 fingerprint of a certificate of an Android Key Attestation chain whose private key is known to be leaked. createdBy is the caller. The device policy applies to the Android requests: the registration of a wallet unit, each Wallet Unit Attestation request and each key attestation request. A refused request gets 403 with individual_wallet_unit.device_refused. To revoke the wallet units that are registered with such a chain already, run [Scan device policy](/docs/openid4vc-api/config-scan-digital-wallet-open-id- device-policy).

Authorizations

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:individual-wallet-units:create

Body

application/json

The new leaked attestation key.

  • fingerprintstringrequired

    Required. The SHA-256 of a certificate of the Android Key Attestation chain, 64 hexadecimal digits. Colons and capital letters are accepted.

    Example:"3B:1F:6C:0E:8D:2A:4B:7F:9E:5C:1A:3D:6B:8F:0E:2C:4A:6D:8B:0F:2E:4C:6A:8D:0B:2F:4E:6C:8A:0D:2B:4F"

  • reasonstring

    Optional. Why the key is in the list.

    At most 1000 characters.

    Example:"Attestation key published with a firmware leak"

Response

application/json

The new leaked attestation key.

  • leakedAttestationKeyobject

    A certificate of an Android Key Attestation chain whose private key is known to be leaked. The wallet provider refuses a key attestation chain that has this certificate.