-
-
Save awswithdotnet/81893605822ce8916554218f253cb5ac to your computer and use it in GitHub Desktop.
S3 Presigned Api UploadController Partial 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GetPreSignedUrlRequest preSignedUrlRequest = new GetPreSignedUrlRequest | |
{ | |
BucketName = bucketName, | |
Key = key, | |
Expires = DateTime.UtcNow.AddHours(createSignedUrlRequest.TimeToLiveInHours) | |
}; | |
string preSignedUrl = client.GetPreSignedURL(preSignedUrlRequest); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment