azure-service-bus-dotnet
azure-service-bus-dotnet copied to clipboard
Generating Temporal SAS Tokens
With the 2.0 library, is it possible to pass in an existing KeyName and Key to generate temporal SAS tokens to be used for management operations. I've read through the issues related to SAS Tokens (#185, #332, #335, #358) but it is unclear whether this functionality has been added.
@mikermesh
The client currently only exposes how "to use SASToken". Generating SASToken is a pending work item that needs to be done.
Almost entire code is already present and just needs some refactoring to expose it. When time permits, we would try to work on it.
If you are blocked on it, you could raise a PR with the changes. I could help you with the changes if required. Most of the code required is present in SharedAccessSignatureTokenProvider
class
Should this enhancement be closed out? Temporal SAS tokens appears to be supported and functional now. Note there are bugs in the code, but I think that should be handled as bugs, not as notes on an enhancement request.
@DavidBerg-MSFT If you already have a SAS token, we do accept it. But this library still doesn't expose generating a SASToken. That's why this is an enhancement issue which is still open.