Skip to content

Instantly share code, notes, and snippets.

View flexicious's full-sized avatar

Flexicious flexicious

View GitHub Profile
@flexicious
flexicious / s3SignedUrl.ts
Last active February 12, 2023 19:01
Make a signed S3 Url
import {
S3Client,
PutObjectCommand }
from "@aws-sdk/client-s3";
import {getSignedUrl} from "@aws-sdk/s3-request-presigner";
const signS3URL = async () => {
const s3Params = {
Bucket: "your-bucket",
Key: "config.json",