Skip to content

idanre1/azure_scripts

Repository files navigation

azure_scripts

az cli and other azure scripts for fun

Change a blob tier

python ~/azure_scripts/storage/az_set_tier_blob.py -a account -c container -p path/inner_dir -f Cool -t Cold

Refresh SAS for storage blob

  • Goto container in azure portal
  • Generate SAS for specific blob
  • Create a json file
{
    "AZURE_STORAGE_SAS_TOKEN":"secret!"
}
  • Encrypt it
~/azure_scripts/json_to_aes_file.sh file.json
  • Delete the json file

About

az cli and other azure scripts for fun

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published