Skip to content

Implementation to generate SAS tokens#6

Open
milismsft wants to merge 12 commits intomasterfrom
milismsft-sasToken-v1
Open

Implementation to generate SAS tokens#6
milismsft wants to merge 12 commits intomasterfrom
milismsft-sasToken-v1

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