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.
- Parameters
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.
- Parameters
ledger_id (str) – Id for the Confidential Ledger instance to get information for.
- Returns
The ledger identity.
- Return type
LedgerIdentity
- Raises
~azure.core.exceptions.HttpResponseError
-
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.
- Parameters
-
property
ledger_id
¶ “The id for this Confidential Ledger.
-
property
ledger_tls_certificate
¶ The certificate used for TLS by this network.