azure.confidentialledger.identity_service package

class azure.confidentialledger.identity_service.ConfidentialLedgerIdentityServiceClient(identity_service_url: str, **kwargs: Any)[source]

Client for communicating with the Confidential Ledger Identity Service, which is used for retrieving identity information about a particular Confidential Ledger instance.

  • identity_service_url (str) – Base URL for the Identity Service.

  • credential (TokenCredential) – Credential for connecting to the service. May be None, because no credential is currently required.

get_ledger_identity(ledger_id: str, **kwargs: Any) → LedgerIdentity[source]

Gets the network information for a Confidential Ledger instance.


ledger_id (str) – Id for the Confidential Ledger instance to get information for.


The ledger identity.

Return type




property identity_service_url

The URL this client is connected to.

class azure.confidentialledger.identity_service.LedgerIdentity(ledger_id, ledger_tls_certificate)[source]

Contains identification information about a Confidential Ledger.

  • ledger_id (str) – The id of the Confidential Ledger this object identifies.

  • ledger_tls_certificate (str) – PEM-encoded certificate used for TLS by the Confidential Ledger.

property ledger_id

“The id for this Confidential Ledger.

property ledger_tls_certificate

The certificate used for TLS by this network.