Skip to content

Commit 54f37fc

Browse files
committed
Merge branch 'master' of github.com:NeuroCode-io/azure-sas-token into master
2 parents 8315c45 + e3ecfcf commit 54f37fc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ This library has zero depdendencies.
55

66
We used it in our [sepa-form-recogizer](https://neurocode.io/blog/sepa-payment-recognizer?s=github) API
77

8-
## Whats a SAS token?
8+
## What is a SAS token?
99

1010
![sas](./sas-storage-uri.png)
1111

1212

13-
SAS token is a string that you generate on give your client for temp access to your Azure storage. The Azure Storage client library does not work in the browser since it uses NodeJS crypto to compute the HMAC SHA256.
13+
SAS token is a string that you generate and give your client for temp access to your Azure storage. The Azure Storage client library does not work in the browser since it uses NodeJS crypto to compute the HMAC SHA256.
1414

15-
This library uses webCrypto to compute the HMAC SHA and is thus compatible with cloudflare workers.
15+
This library uses webCrypto to compute the HMAC SHA256 and is thus compatible with cloudflare workers.
1616

1717

1818
## Install
@@ -41,7 +41,7 @@ const { blobSasUrl } = await createBlobSas({
4141

4242
```
4343

44-
Be careful with **startsOn** property. If you set the start time for a SAS to the current time, you may observe failures occurring intermittently for the first few minutes due to different machines having slight variations the current time (known as clock skew).
44+
Be careful with **startsOn** property. If you set the start time for a SAS to the current time, you may observe failures occurring intermittently for the first few minutes due to different machines having slight variations of the current time (known as clock skew).
4545

4646
In general, set the start time to be at least 15 minutes in the past. Or, don't set it at all :)
4747

0 commit comments

Comments
 (0)