Skip to content

Instantly share code, notes, and snippets.

@ItayPodhajcer
Created January 17, 2023 13:09
Show Gist options
  • Save ItayPodhajcer/48cf13eae7c2fc3434e33c3febd3dcf8 to your computer and use it in GitHub Desktop.
Save ItayPodhajcer/48cf13eae7c2fc3434e33c3febd3dcf8 to your computer and use it in GitHub Desktop.
terraform-azure-confidential-ledger/test-ledger.py#imports
from azure.identity import DefaultAzureCredential
from azure.mgmt.confidentialledger import ConfidentialLedger as ConfidentialLedgerAPI
from azure.mgmt.confidentialledger.models import ConfidentialLedger
from azure.confidentialledger import ConfidentialLedgerClient
from azure.confidentialledger.certificate import ConfidentialLedgerCertificateClient
resource_group = "rg-confidentialledger-eastus"
ledger_name = "acl-confidentialledger-eastus"
subscription_id = "<azure-subscription-id>"
identity_url = "https://identity.confidential-ledger.core.azure.com"
ledger_url = "https://" + ledger_name + ".confidential-ledger.azure.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment