An open API service indexing awesome lists of open source software.

https://github.com/shanepeckham/generatesastokengo

Generate a SaS token for Azure Service Hub with Go
https://github.com/shanepeckham/generatesastokengo

azure go golang service-bus

Last synced: 7 months ago
JSON representation

Generate a SaS token for Azure Service Hub with Go

Awesome Lists containing this project

README

          

# GenerateSASTokenGo
Generate a SaS token for Azure Service Hub with Go

See the following page for context [Generate SaS Token](https://docs.microsoft.com/en-us/rest/api/eventhub/generate-sas-token)

You can invoke the function like this:
```
SaS := createSharedAccessToken("http://yournamespace.servicebus.windows.net/orders", "yourpolicyname", "yoursecretkey")
```