Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Azure Connection Strings and Shared Access Signature (SAS) auth #607

Open
shaunco opened this issue Jan 13, 2021 · 2 comments
Open

Comments

@shaunco
Copy link

shaunco commented Jan 13, 2021

The azure/auth package doesn't seem to have support for shared access keys or connection strings. Most of the Azure data plane APIs make use of both.

@shaunco
Copy link
Author

shaunco commented Jan 13, 2021

Sorry, I overlooked SAS in the main autorest package. Connection String support would still be nice, but easy enough to parse on my own.

@shaunco shaunco closed this as completed Jan 13, 2021
@shaunco
Copy link
Author

shaunco commented Jan 13, 2021

Looks like I closed this too soon. SASTokenAuthorizer requires that the SAS token be generated in advance by the caller, which leaves both SAS token generation (and regeneration after expiration) a bit messy. Would be really nice to be able to pass the keyname and key and have SASTokenAuthorizer generate it for each request.

Happy to submit my revised version as a PR.

@shaunco shaunco reopened this Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant