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

Implementation to generate SAS tokens #6

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

milismsft
Copy link
Owner

@milismsft milismsft commented Jan 28, 2021

The "contract" is:
"type=sas&ver=1.0&sig=BASE64_HMAC_ENCODED_PAYLOAD;BASE64_PAYLOAD_VALUE"
where payload value is the Base64 URL encoding of a string containing all the following values:
* user\n
* userTag\n
* resourcePathPrefix\n
* partitionRangesCommaSeparated\n
* epochStartTime\n
* epochExpiryTime\n
* keyKind\n
* shortAsHexControlPlaneReaderScope\n
* shortAsHexControlPlaneWriterScope\n
* intAsHexDataPlaneReaderScope\n
* intAsHexDataPlaneWriterScope\n

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

Successfully merging this pull request may close these issues.

1 participant