Skip to main content

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.

# 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
ass auto-activate  # auto activate roles
ass 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure_activation_service-0.1.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

azure_activation_service-0.1.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file azure_activation_service-0.1.0.tar.gz.

File metadata

File hashes

Hashes for azure_activation_service-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fdac3d016d0e354a047ffe115dc48411bf336d81573dbb30cc6fc3303ab760ff
MD5 c8c5912ebd466bbe465a213df0dfe543
BLAKE2b-256 130e66e1992099cbd813c52d1e45da8bf4451cc60f919cb5b3ba7e870b56baf3

See more details on using hashes here.

File details

Details for the file azure_activation_service-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_activation_service-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32e3798728a25718ebc88ced3e6e0c08f52e431aca6a0156a7867f09eda1285d
MD5 c009a926a7247c81f6b7d1aa8755deb2
BLAKE2b-256 e01ed55847923c1c2ec3881ce7106667422f1607da3e72226303ccd07b716b98

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page