Skip to content

Commit

Permalink
Feature/62654 Key rotation script update (#2675)
Browse files Browse the repository at this point in the history
* update cli usage for service bus

* omit failing on stderr output

* revert stderr supression

---------

Co-authored-by: Jon Shipley <[email protected]>
  • Loading branch information
GuyHarwood and jon-shipley authored Aug 23, 2024
1 parent fdbd05b commit b4e29da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/keys/service-bus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fi
# "secondaryKey": "..."
# }
echo "renewing $SERVICE_BUS_KEY_TYPE key for user $SERVICE_BUS_USER in service bus namespace $SERVICE_BUS_NAME..."
KEY_VALUE=$(az servicebus namespace authorization-rule keys renew --key $SERVICE_BUS_KEY_TYPE --name $SERVICE_BUS_USER --namespace-name $SERVICE_BUS_NAME --resource-group $RES_GROUP | jq -r .$KEY_IDENTIFIER)
KEY_VALUE=$(az servicebus namespace authorization-rule keys renew --key $SERVICE_BUS_KEY_TYPE --authorization-rule-name $SERVICE_BUS_USER --namespace-name $SERVICE_BUS_NAME --resource-group $RES_GROUP | jq -r .$KEY_IDENTIFIER)

# skip key vault update if requested
if [ $UPDATE_KV_SECRET == "False" ]; then exit 0; fi
Expand Down

0 comments on commit b4e29da

Please sign in to comment.