sparse-intern-71089
03/11/2021, 6:56 AMtall-librarian-49374
03/11/2021, 7:37 AMtall-librarian-49374
03/11/2021, 7:37 AMfull-winter-70537
03/11/2021, 7:43 AMconst sendEventSourceKey = new eventhub.EventHubAuthorizationRule("send", {
    resourceGroupName: resourceGroupName,
    namespaceName: eventHubNamespace.name,
    eventHubName: eventHub.name,
    authorizationRuleName: "send",
    rights: ["send"],
}, { parent: eventHub });
The one I'm trying to access is the default namespace SAS Policy. Here what I see from the ARM template:
{
    "type": "Microsoft.ServiceBus/namespaces/AuthorizationRules",
    "apiVersion": "2017-04-01",
    "name": "[concat(parameters('namespaces_mynamespace_name'), '/RootManageSharedAccessKey')]",
    "location": "Australia East",
    "dependsOn": [
        "[resourceId('Microsoft.ServiceBus/namespaces', parameters('namespaces_mynamespace_name'))]"
    ],
    "properties": {
        "rights": [
            "Listen",
            "Manage",
            "Send"
        ]
    }
},full-winter-70537
03/11/2021, 7:44 AMTopic key. Duh. My bad, thanksfull-winter-70537
03/11/2021, 7:45 AMtall-librarian-49374
03/11/2021, 8:30 AM