sync
sync copied to clipboard
Save/load credentials
Sync gets AWS credentials from the Sync server so it can read and write encrypted data to AWS S3. These credentials are valid for 36 hours, and when they expire Sync auto refreshes them.
To reduce network requests, browser clients should receive credentials from the Sync library, persist credentials, and provide them to the library on init.