s3:UpdateObjectEncryption

Write

s3:UpdateObjectEncryption is a Write access-level action in the s3 service. Grants permission to update the server-side encryption type of an existing object in a general purpose bucket

Resource types

ARNs that s3:UpdateObjectEncryption can be scoped to in an IAM policy.

arn:${Partition}:s3:${Region}:${Account}:accesspoint/${AccessPointName}/object/${ObjectName}
accesspointobject
arn:${Partition}:s3:::${BucketName}/${ObjectName}
object

Condition keys

Keys you can use in the Condition block of a policy that grants s3:UpdateObjectEncryption.

s3:ExistingObjectTag/<key> String

Filters access by existing object tag key and value

s3:ResourceAccount String

Filters access by the resource owner AWS account ID

s3:TlsVersion Numeric

Filters access by the TLS version used by the client

s3:authType String

Filters access by authentication method

s3:signatureAge Numeric

Filters access by the age in milliseconds of the request signature

s3:signatureversion String

Filters access by the version of AWS Signature used on the request

s3:x-amz-content-sha256 String

Filters access by unsigned content in your bucket

s3:x-amz-server-side-encryption String

Filters access by server-side encryption

s3:x-amz-server-side-encryption-aws-kms-key-id ARN

Filters access by AWS KMS customer managed CMK for server-side encryption

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

s3:AccessPointNetworkOrigin String

Filters access by the network origin (Internet or VPC)

s3:AccessPointTag/${TagKey} String

Filters access by existing access point tag key and value

s3:BucketTag/${TagKey} String

Filters access by the tags associated with the bucket

s3:DataAccessPointAccount String

Filters access by the AWS Account ID that owns the access point

s3:DataAccessPointArn ARN

Filters access by an access point Amazon Resource Name (ARN)

Example IAM policy

A minimal policy that allows s3:UpdateObjectEncryption. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowS3UpdateObjectEncryption",
      "Effect": "Allow",
      "Action": "s3:UpdateObjectEncryption",
      "Resource": "*"
    }
  ]
}

Related actions in s3

View all s3 actions →