Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions docs-ref-services/latest/authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ms.service: authorization
---
# Azure Authorization libraries for python

## [Management API](/python/api/overview/azure/authorization/management)
## [Management API](/python/api/overview/azure/mgmt-authorization-readme)

```bash
pip install azure-mgmt-authorization
Expand All @@ -18,8 +18,6 @@ pip install azure-mgmt-authorization

The following code creates an instance of the management client.

You will need to provide your ``subscription_id`` which can be retrieved from [your subscription list](https://manage.windowsazure.com/#Workspaces/AdminTasks/SubscriptionMapping).

See [Resource Management Authentication](/python/azure/python-sdk-azure-authenticate) for details on handling Azure Active Directory authentication with the Python SDK, and creating a ``Credentials`` instance.

```python
Expand All @@ -43,7 +41,7 @@ authorization_client = AuthorizationManagementClient(

## Check permissions for a resource group

The following code checks permissions in a given resource group. To create or manage resource groups, see [Resource Management](/python/api/overview/azure/azure.mgmt.resource).
The following code checks permissions in a given resource group. To create or manage resource groups, see [Resource Management](/python/api/overview/azure/mgmt-resource-readme).

```python
from azure.mgmt.redis.models import Sku, RedisCreateOrUpdateParameters
Expand All @@ -56,4 +54,4 @@ permissions = self.authorization_client.permissions.list_for_resource_group(
```

> [!div class="nextstepaction"]
> [Explore the Management APIs](/python/api/azure-mgmt-authorization)
> [Explore the Management APIs](/python/api/azure-mgmt-authorization)