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

NZSL-167: Presign asset requests #1524

Merged
merged 5 commits into from
Jan 15, 2024

Conversation

joshmcarthur
Copy link
Contributor

@joshmcarthur joshmcarthur commented Jan 11, 2024

This pull request ports over the asset presigning class from NZSL Share, and uses this when rendering:

  • Sign examples
  • Sign illustrations
  • Sign video

If a dictionary access key pair is present, it will pre-sign AWS URLs for assets. If no key pair is present, it will passthrough the URLs unaltered.

Here is an example of a sign illustration when a key pair is configured:

image

And without the key pair (note that lack of signature, etc):

image

@joshmcarthur joshmcarthur merged commit 228d5f1 into main Jan 15, 2024
6 checks passed
@joshmcarthur joshmcarthur deleted the task/nzsl-167-presign-sign-asset-requests branch January 15, 2024 02:07
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.

2 participants