How to get AzureStorage connection string in a function?

In my azure function I use the following to get a tableService so I can store data into table storage:
const tableService = azure.createTableService('DefaultEndpointsProtocol=https;AccountName=....redacted.....

The storage account however was created suring serverless deploy. How to get this to work without having to copy&paste the connection string into my code?

I have been trying something with connection: AzureWebJobsStorage in serverless.yml without success.