# PyARCrbac
PyARCrbac is a Python library that provides functions for retrieving tokens from azure arc-enabled servers using the local metadata service. It can be used to obtain access tokens for Azure resources.
## Installation
```shell
pip3 install pyarcrbac
```
## Usage
Here's an example of how to use PyARCrbac to retrieve an access token:
```python
from pyarcrbac import get_token
token = get_token()
print(token)
```
Make sure you have the necessary permissions and environment variables set up to access the azure metadata service.
## Documentation
The main function in PyARCrbac is get_token(), which retrieves the challenge token from the metadata service. It returns the access token as a JSON object.
## Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
## License
This project is licensed under the MIT License.
## Contact
For any questions or inquiries, please open an issue.
## Disclaimer
I am not responsible for any damage and/or misuse as a result of using this lib.
Raw data
{
"_id": null,
"home_page": "",
"name": "PyARCrbac",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,azure,rbac,azurearc,authentication,azmanagement",
"author": "ikbendion (dblonk)",
"author_email": "<contact@ikbendion.nl>",
"download_url": "https://files.pythonhosted.org/packages/09/49/a66aa14ea18bbeb2a8462a87cc69e88c52b71c38816da8e3037e0bbcd56c/PyARCrbac-0.0.5.tar.gz",
"platform": null,
"description": "# PyARCrbac\r\nPyARCrbac is a Python library that provides functions for retrieving tokens from azure arc-enabled servers using the local metadata service. It can be used to obtain access tokens for Azure resources.\r\n## Installation\r\n```shell\r\npip3 install pyarcrbac\r\n```\r\n## Usage\r\nHere's an example of how to use PyARCrbac to retrieve an access token:\r\n```python\r\nfrom pyarcrbac import get_token\r\n\r\ntoken = get_token()\r\nprint(token)\r\n```\r\nMake sure you have the necessary permissions and environment variables set up to access the azure metadata service.\r\n\r\n## Documentation\r\nThe main function in PyARCrbac is get_token(), which retrieves the challenge token from the metadata service. It returns the access token as a JSON object.\r\n\r\n## Contributing\r\nContributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.\r\n\r\n## License\r\nThis project is licensed under the MIT License.\r\n\r\n## Contact\r\nFor any questions or inquiries, please open an issue.\r\n\r\n## Disclaimer\r\nI am not responsible for any damage and/or misuse as a result of using this lib.\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "a Python library that provides functions for retrieving tokens from local azure metadata service.",
"version": "0.0.5",
"project_urls": {
"Source": "https://github.com/ikbendion/PyARCrbac"
},
"split_keywords": [
"python",
"azure",
"rbac",
"azurearc",
"authentication",
"azmanagement"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0949a66aa14ea18bbeb2a8462a87cc69e88c52b71c38816da8e3037e0bbcd56c",
"md5": "de44496a1c8da10d32c90fa8ae54aec3",
"sha256": "bf780e37310873a1565baa300ce0ee77d8c265b9888a40d396eff5dd66b77782"
},
"downloads": -1,
"filename": "PyARCrbac-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "de44496a1c8da10d32c90fa8ae54aec3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3220,
"upload_time": "2023-12-05T21:37:30",
"upload_time_iso_8601": "2023-12-05T21:37:30.722625Z",
"url": "https://files.pythonhosted.org/packages/09/49/a66aa14ea18bbeb2a8462a87cc69e88c52b71c38816da8e3037e0bbcd56c/PyARCrbac-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-05 21:37:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ikbendion",
"github_project": "PyARCrbac",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pyarcrbac"
}