ledger_identities
Creates, updates, deletes, gets or lists a ledger_identities resource.
Overview
| Name | ledger_identities |
| Type | Resource |
| Id | azure.confidential_ledger_certificate.ledger_identities |
Fields
The following fields are returned by SELECT queries:
- get_ledger_identity
| Name | Datatype | Description |
|---|---|---|
ledgerId | string | Id for the ledger. |
ledgerTlsCertificate | string | PEM-encoded certificate used for TLS by the Confidential Ledger. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_ledger_identity | select | ledger_id, certificate_endpoint | Gets identity information for a Confidential Ledger instance. Gets identity information for a Confidential Ledger instance. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
certificate_endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client certificateEndpoint parameter. (default: ) |
ledger_id | string | Id of the Confidential Ledger instance to get information for. Required. |
SELECT examples
- get_ledger_identity
Gets identity information for a Confidential Ledger instance. Gets identity information for a Confidential Ledger instance.
SELECT
ledgerId,
ledgerTlsCertificate
FROM azure.confidential_ledger_certificate.ledger_identities
WHERE ledger_id = '{{ ledger_id }}' -- required
AND certificate_endpoint = '{{ certificate_endpoint }}' -- required
;