Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

259
Vistas
Getting Access Denied on deleting file from the S3 Bucket

It was working fine few day back , I was able to delete the object in S3 bucket. But now I getting Access Denied. I don't know what i did wrong. I am preforming these operation using AWS SDK in Node.Js

I am able to get and upload the objects(files) from S3 but not able to delete

Here is the permission(bucket policy) for bucket

{
"Version": "2012-10-17",
"Id": "Policy1632224975311",
"Statement": [
    {
        "Sid": "Stmt1632224935425",
        "Effect": "Allow",
        "Principal": "*",
        "Action": [
            "s3:DeleteObject",
            "s3:GetObject"
        ],
        "Resource": "arn:aws:s3:::bg-app-file-upload/*"
    }
]

}

The IAM user policy

{
"Version": "2012-10-17",
"Statement": [
    {
        "Sid": "VisualEditor0",
        "Effect": "Allow",
        "Action": [
            "s3:PutObject",
            "s3:DeleteObject"
        ],
        "Resource": [
            "arn:aws:s3:::bg-app-file-upload",
            "arn:aws:s3:::bg-app-file-upload/*"
        ]
    }
]

}

Please help me out here.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda