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

Usually when I need to fork in C, I do something like this: pid_t
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, when using Windows Authentication, the software (eg Internet Explorer) tries to use Windows
I've used Amazon S3 a little bit for backups for some time. Usually, after
In the Status Report page in drupal, i usually find this message (on fresh
I use XMLHttpRequest for file upload and in the browser I've a progress bar
I have a simple document storage database that allows people to upload various types
I use an installation of Xampp to test my files locally before I upload
Usually when I'm creating indexes on tables, I generally guess what the Fill Factor

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.