ConfidentialLedgerIdentityServiceClient Class

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

Inheritance
builtins.object
ConfidentialLedgerIdentityServiceClient

Constructor

ConfidentialLedgerIdentityServiceClient(identity_service_url: str, **kwargs: Any)

Parameters

identity_service_url
str
Required

Base URL for the Identity Service.

credential
TokenCredential
Required

Credential for connecting to the service. May be None, because no credential is currently required.

Methods

close

Close sockets opened by the client.

Calling this method is unnecessary when using the client as a context manager.

get_ledger_identity

Gets the network information for a Confidential Ledger instance.

close

Close sockets opened by the client.

Calling this method is unnecessary when using the client as a context manager.

async close() -> None

get_ledger_identity

Gets the network information for a Confidential Ledger instance.

async get_ledger_identity(ledger_id: str, **kwargs: Any) -> azure.confidentialledger.identity_service._models.LedgerIdentity

Parameters

ledger_id
str
Required

Id for the Confidential Ledger instance to get information for.

Returns

The ledger identity.

Return type

<xref:azure.confidentialledger.LedgerIdentity>

Exceptions

Attributes

identity_service_url

The URL this client is connected to.