Auto Activate Azure Roles
Project description
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].
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file azure_activation_service-0.2.1.tar.gz.
File metadata
- Download URL: azure_activation_service-0.2.1.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
052565c4b29036b575dfb07064e4915b785e14f9aa199ac1e38cb1eaf446d275
|
|
| MD5 |
2e7ca3a4422d7946af5845a0b22e3170
|
|
| BLAKE2b-256 |
daf7e0708b52dd38829ff03bd85cbba05aad9afcbefde8a73df1d95b08b29bc2
|
File details
Details for the file azure_activation_service-0.2.1-py3-none-any.whl.
File metadata
- Download URL: azure_activation_service-0.2.1-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a6c8c91386e9ccc401f8364a55492da09a7304bea4b9117ce93fa3cdf74bb00
|
|
| MD5 |
974772fb31562dfdff5ad842ef75e045
|
|
| BLAKE2b-256 |
dcddd9bc1cf20ffecc094f3aaec94736177349153545e629e4c36de8034c5f90
|