Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

232
Views
AWS GetBucketLocationRequest con la opción UseSignatureVersion4

¿Cómo solicitar una ubicación de depósito con la opción global UseSignatureVersion4? De hecho, necesito crear una instancia de AmazonS3Client con un punto final de región específico. Pero, por ejemplo, si tengo un depósito ubicado en la región " us-west-2 " y creo un cliente predeterminado AmazonS3Client con la opción de región " us-east-1 ", obtengo " El encabezado de autorización tiene un formato incorrecto; la región 'us -east-1' es incorrecto; esperaba el error 'us-west-2' ". Pero no conozco la ubicación de un depósito de antemano.

 AWSConfigs.S3Config.UseSignatureVersion4 = true; string location; using (var tmpS3Client = new AmazonS3Client(accessInfo.AccessKey, accessInfo.SecretKey, RegionEndpoint.USEast1)) { var bucketLocationRequest = new GetBucketLocationRequest { BucketName = config.BucketName }; GetBucketLocationResponse bucketLocationResponse = tmpS3Client.GetBucketLocation(bucketLocationRequest); location = bucketLocationResponse.Location.Value; }
about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!