Skip to main content

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)

Source distribution for azure-activation-service 0.2.1
File Size Uploaded
azure_activation_service-0.2.1.tar.gz 11.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for azure-activation-service 0.2.1
File Interpreter ABI Platform
azure_activation_service-0.2.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page