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
- Host: GitHub
- URL: https://github.com/shanepeckham/generatesastokengo
- Owner: shanepeckham
- License: mit
- Created: 2017-08-07T06:37:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-12T06:55:41.000Z (about 8 years ago)
- Last Synced: 2025-02-03T20:53:08.550Z (8 months ago)
- Topics: azure, go, golang, service-bus
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GenerateSASTokenGo
Generate a SaS token for Azure Service Hub with GoSee 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")
```