git clone [email protected]:zinefer/hugo-carbon.git themes/carbon
SUBSCRIPTIONID=""
RESOURCEGROUP=""
APPNAME=""
STORAGEACCOUNT=""
az ad sp create-for-rbac --name "$APPNAME" --role contributor --scopes /subscriptions/$SUBSCRIPTIONID/resourceGroups/$RESOURCEGROUP --sdk-auth
az role assignment create --role "Storage Blob Data Contributor" --assignee $(az ad sp list --display-name "$APPNAME" --query "[].appId" -o tsv) --scope /subscriptions/$SUBSCRIPTIONID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.Storage/storageAccounts/$STORAGEACCOUNT
Just run create-for-rbac
to refresh credentials