Created
January 17, 2023 13:13
-
-
Save ItayPodhajcer/5c48d14894574957a7720fafb6fce932 to your computer and use it in GitHub Desktop.
terraform-azure-confidential-ledger/test-ledger.py#identity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
identity_client = ConfidentialLedgerCertificateClient(identity_url) | |
network_identity = identity_client.get_ledger_identity( | |
ledger_id=ledger_name | |
) | |
ledger_tls_cert_file_name = "ledgercert.pem" | |
with open(ledger_tls_cert_file_name, "w") as cert_file: | |
cert_file.write(network_identity['ledgerTlsCertificate']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment