View as Markdown

SDK reference · Python SDK

prov.attest.devices

prov.attest.devices in the Python SDK: 4 methods. The attest.devices methods.

Methods

enrollment_challenge

prov.attest.devices.enrollment_challenge() -> Any

A single-use challenge for a phone's key attestation before it enrolls.

Calls POST /v1/attest/devices/enrollment_challenge.

enroll

prov.attest.devices.enroll(**body: Any = …) -> Any

Enrolls a phone in your key's own carrier; the server assigns its hardware tier.

Calls POST /v1/attest/devices.

list

prov.attest.devices.list(revoked: Optional[bool] = …, limit: Optional[int] = …, cursor: Optional[str] = …) -> Any

The devices enrolled in your key's carrier.

Calls GET /v1/attest/devices.

revoke

prov.attest.devices.revoke(device_id: str, reason: Optional[str] = …) -> Any

Revokes a device in your key's carrier.

Calls POST /v1/attest/devices/{id}/revoke.

Was this page helpful? Send us feedback

LLM? Read llms.txt.