# Microsoft Azure SDK for Python
This is the Microsoft Azure Resource Bicep Management Client Library.
This package has been tested with Python 3.9+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
## _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
- Python 3.9+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)
### Install the package
```bash
pip install azure-mgmt-resource-bicep
pip install azure-identity
```
### Authentication
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the 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:
```python
from azure.identity import DefaultAzureCredential
from azure.mgmt.resource.bicep import BicepMgmtClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = BicepMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
```
## Examples
Code samples for this package can be found at:
- [Search Resource Bicep Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
## Troubleshooting
## Next steps
## Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.
# Release History
## 1.0.0b1 (2025-06-25)
### Other Changes
- Initial version
Raw data
{
"_id": null,
"home_page": "https://github.com/Azure/azure-sdk-for-python",
"name": "azure-mgmt-resource-bicep",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "azure, azure sdk",
"author": "Microsoft Corporation",
"author_email": "azpysdkhelp@microsoft.com",
"download_url": "https://files.pythonhosted.org/packages/4c/c5/4494ba62ceccec17161366ef9c2d1b6374ca8dd77e9d5a73a5463cece9af/azure_mgmt_resource_bicep-1.0.0b1.tar.gz",
"platform": null,
"description": "# Microsoft Azure SDK for Python\n\nThis is the Microsoft Azure Resource Bicep Management Client Library.\nThis package has been tested with Python 3.9+.\nFor a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).\n\n## _Disclaimer_\n\n_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_\n\n## Getting started\n\n### Prerequisites\n\n- Python 3.9+ is required to use this package.\n- [Azure subscription](https://azure.microsoft.com/free/)\n\n### Install the package\n\n```bash\npip install azure-mgmt-resource-bicep\npip install azure-identity\n```\n\n### Authentication\n\nBy default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.\n\n- `AZURE_CLIENT_ID` for Azure client ID.\n- `AZURE_TENANT_ID` for Azure tenant ID.\n- `AZURE_CLIENT_SECRET` for Azure client secret.\n\nIn addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.\n\nWith above configuration, client can be authenticated by following code:\n\n```python\nfrom azure.identity import DefaultAzureCredential\nfrom azure.mgmt.resource.bicep import BicepMgmtClient\nimport os\n\nsub_id = os.getenv(\"AZURE_SUBSCRIPTION_ID\")\nclient = BicepMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)\n```\n\n## Examples\n\nCode samples for this package can be found at:\n- [Search Resource Bicep Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com\n- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)\n\n\n## Troubleshooting\n\n## Next steps\n\n## Provide Feedback\n\nIf you encounter any bugs or have suggestions, please file an issue in the\n[Issues](https://github.com/Azure/azure-sdk-for-python/issues)\nsection of the project. \n\n\n# Release History\n\n## 1.0.0b1 (2025-06-25)\n\n### Other Changes\n\n - Initial version\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Microsoft Azure Resource Bicep Management Client Library for Python",
"version": "1.0.0b1",
"project_urls": {
"Homepage": "https://github.com/Azure/azure-sdk-for-python"
},
"split_keywords": [
"azure",
" azure sdk"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "af0a62d7dd1dc7412dfd6a2d3a1fe13b28446bc9af394351ba88fb575fff1b32",
"md5": "53ea1f08b63add157806acccadc913a2",
"sha256": "ce558c20ad486b011d84cf09aecdf48090695a98e51ffee4962141dc4b720c24"
},
"downloads": -1,
"filename": "azure_mgmt_resource_bicep-1.0.0b1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "53ea1f08b63add157806acccadc913a2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 51677,
"upload_time": "2025-07-15T05:03:46",
"upload_time_iso_8601": "2025-07-15T05:03:46.289549Z",
"url": "https://files.pythonhosted.org/packages/af/0a/62d7dd1dc7412dfd6a2d3a1fe13b28446bc9af394351ba88fb575fff1b32/azure_mgmt_resource_bicep-1.0.0b1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "4cc54494ba62ceccec17161366ef9c2d1b6374ca8dd77e9d5a73a5463cece9af",
"md5": "e62dc1c61ffd122c5207b4e51faa5bc3",
"sha256": "711cad7c9022790fa3be295b45df5bea453b41f34dd08cafebc2a147191389af"
},
"downloads": -1,
"filename": "azure_mgmt_resource_bicep-1.0.0b1.tar.gz",
"has_sig": false,
"md5_digest": "e62dc1c61ffd122c5207b4e51faa5bc3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 42126,
"upload_time": "2025-07-15T05:03:44",
"upload_time_iso_8601": "2025-07-15T05:03:44.793198Z",
"url": "https://files.pythonhosted.org/packages/4c/c5/4494ba62ceccec17161366ef9c2d1b6374ca8dd77e9d5a73a5463cece9af/azure_mgmt_resource_bicep-1.0.0b1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-15 05:03:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Azure",
"github_project": "azure-sdk-for-python",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "azure-mgmt-resource-bicep"
}