Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7500681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T20:15:56+00:00 2026-05-29T20:15:56+00:00

Usually when I upload to S3 storage, I use an AmazonS3Client like this: var

  • 0

Usually when I upload to S3 storage, I use an AmazonS3Client like this:

var client = Amazon.AWSClientFactory.CreateAmazonS3Client(accessKey, secretKey, s3Config)

This works fine for internal use but now I am looking at providing an app to external users and don’t want our (sacret) access & secret keys to be out there. I’ve set up an S3 bucket with a bucket policy allowing uploads (PutObject) from anonymous users but how do I use the Amazon SDK now? I can’t seem to find any way without providing the access and secret key.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T20:15:57+00:00Added an answer on May 29, 2026 at 8:15 pm

    You just need to pass null for accessKey and secretKey and you can use the SDK for any anonymously allowed operation.

    Check out this related question of mine it includes an official response from an Amazon employee from their developer forum! Relevant information from the linked question:

    This is from an official Amazon employee on their forum:

    As of the 1.3.8.0 release of the SDK you can pass null for the access
    and secret key and the SDK will skip the signing process and try the
    operations like GetObject as a public operation.

    Norm

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok guys im a bit stuck here. I usually use jquery to do this
I'm trying to use the following code to upload a csv file usually around
I’m trying to upload files to Amazon S3 using AWS::S3 , but I’d like
I'm trying to use this script from Github at https://github.com/blueimp/jQuery-File-Upload The script has js
Usually in a django view you would do something like queryset = MyModel.objects.something() How
Usually when I need to find the max value of an array I use
I've used Amazon S3 a little bit for backups for some time. Usually, after
I have a software requirement like that: An app run on window but this
I have requirement to upload photos to server using php. Usually, the user selects
I use below code to post a photo on wall usually $attachments = array(

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.