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

586
Views
boto3: Ocurrió un error (Acceso denegado) al llamar a la operación ListBuckets: ¿Acceso denegado?

Recibo este error en la terminal cuando trato de enumerar todos los cubos usando boto3: Ocurrió An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied .

Aquí está el código:

 for bucket in s3.buckets.all(): print(bucket.name)

Encontré una pregunta de desbordamiento de pila ( ¿Por qué mi terminal devuelve este error s3? ) y debajo está la solución propuesta. No estoy muy familiarizado con AWS, así que necesito un poco de orientación.

¿Dónde puedo encontrar el diccionario dentro como el que se muestra a continuación dentro de la consola de AWS?

 { "Sid": "AllowListingOfAllBuckets", "Effect": "Allow", "Action": [ "s3:ListAllMyBuckets" ], "Resource": [ "arn:aws:s3:::*" ] }
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

puede agregar lo siguiente a la matriz Acciones en la política: s3:ListBucket

 { "Sid": "AllowListingOfAllBuckets", "Effect": "Allow", "Action": [ "s3:ListAllMyBuckets", "s3:ListBuckets", ], "Resource": [ "arn:aws:s3:::*" ] }

Es posible que deba actualizar el Recurso: "Resource": "arn:aws:s3:::mywebsite.media/*"

about 4 years ago · Santiago Trujillo Report
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!