Skip to main content

Microsoft Azure Confidential Ledger Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Confidential Ledger Management Client Library. This package has been tested with Python 3.7+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Getting started

Prerequisites

Install the package

pip install azure-mgmt-confidentialledger
pip install azure-identity

Authentication

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.confidentialledger import ConfidentialLedger
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ConfidentialLedger(credential=DefaultAzureCredential(), subscription_id=sub_id)

Examples

Code samples for this package can be found at:

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Impressions

Release History

2.0.0b2 (2023-04-20)

Features Added

  • Added operation group ManagedCCFOperations
  • Model LedgerProperties has a new parameter running_state

Breaking Changes

  • Model LedgerProperties no longer has parameter ledger_storage_account
  • Parameter location of model ConfidentialLedger is now required

2.0.0b1 (2022-11-25)

Features Added

  • Model LedgerProperties has a new parameter ledger_storage_account

Breaking Changes

  • Removed operation group ConfidentialLedgerOperationsMixin

1.0.0 (2022-05-30)

Features

  • Added operation group ConfidentialLedgerOperationsMixin

Breaking changes

  • Model LedgerProperties no longer has parameter ledger_storage_account

1.0.0b1 (2021-04-28)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-mgmt-confidentialledger-2.0.0b2.zip (80.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file azure-mgmt-confidentialledger-2.0.0b2.zip.

File metadata

File hashes

Hashes for azure-mgmt-confidentialledger-2.0.0b2.zip
Algorithm Hash digest
SHA256 1ba50081f0131b82f3d293d16e16f661dda6b00071a9b68c0b4b17ff2cb9c2cb
MD5 fac5ce6565401edba21356af2e81bb77
BLAKE2b-256 9e4cad5c8e85f877f9e3a1e9e8b5e838a897141af01e21594c7aafab7579a577

See more details on using hashes here.

File details

Details for the file azure_mgmt_confidentialledger-2.0.0b2-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_confidentialledger-2.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 01d872a7a033d800ab9955baf7efc333e68d54625ea0cc621951334ba8837359
MD5 745cabf1025273ea56d49c95048f5234
BLAKE2b-256 e3aa0ba284a52a88c3f8ee0e14c31ee299c361b17e2bad699dbc414a8dfe8625

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page