Skip to main content

2.x Rekey Azure Credentials

Script

Update the Azure storage account key on a LucidLink 2.x filespace after regenerating Azure access keys. Keeps your 2.x filespace connected to its blob container without downtime.

Running from the command line

Run the script with no arguments and it prompts for each value, masking the key and password:

python 2x-rekey-azure-credentials.py

It also accepts the same JSON object the Admin Assistant sends on stdin:

python 2x-rekey-azure-credentials.py <<'JSON'{  "sourceFilespace": "fs_2x.company",  "accountName": "mystorageaccount",  "accountKey": "new-storage-account-key",  "adminPassword": "filespace-admin-pw"}JSON