Azure Activation Service
Auto Activate Azure Roles!
The tool works as a companion to the MSRA Intern's Tool. Many thanks for jianfeng's great project.
The tool aims to produce a linux user-space service that runs periodically to activate Azure roles so that you don't need to keep your VSCode open.
Installation
pip install azure-activation-service
Usage
# In a bash shell that has the Azure CLI env set up
aas list-roles # refresh role list
aas import-config # import auto-renew config from MSRA Intern's Tool
aas auto-activate # auto activate roles
aas generate-service # generate user service
systemctl --user enable azure-pim-activator # enable user service
loginctl enable-linger $USER # to keep user service active
The tool reads and stores everything in $AZURE_CONFIG_DIR, so if you are working with multiple users you can do the above operations with different $AZURE_CONFIG_DIR and set a different service name when running ass generate-service [another-name].
Metadata
Release files for azure-activation-service 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| azure_activation_service-0.2.1.tar.gz | 11.0 kB | Without provenance | Details for azure_activation_service-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| azure_activation_service-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for azure_activation_service-0.2.1-py3-none-any.whl |
Total release size: 22.7 kB
Release files / azure_activation_service-0.2.1.tar.gz
| Download URL | azure_activation_service-0.2.1.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
052565c4b29036b575dfb07064e4915b785e14f9aa199ac1e38cb1eaf446d275
|
|
BLAKE2b-256 checksum How to use checksums |
daf7e0708b52dd38829ff03bd85cbba05aad9afcbefde8a73df1d95b08b29bc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.8
|
Release files / azure_activation_service-0.2.1-py3-none-any.whl
| Download URL | azure_activation_service-0.2.1-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a6c8c91386e9ccc401f8364a55492da09a7304bea4b9117ce93fa3cdf74bb00
|
|
BLAKE2b-256 checksum How to use checksums |
dcddd9bc1cf20ffecc094f3aaec94736177349153545e629e4c36de8034c5f90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.8
|
Security for azure-activation-service 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.