AWSDataSyncFullAccess
Last Modified
Mar 12, 2026
March 12, 2026 at 09:25 PM UTC
Version
v16
Total Versions
15
Created
Feb 12, 2026
Actions
36
Risk
MediumThe same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed
- Medium
Can rewrite resource policies and sharing
Grants 1 permissions management action across 1 service (ec2) on any resource, enough to share resources outside the account.
ec2:createnetworkinterfacepermissionUse with caution: Turn on IAM Access Analyzer external access findings, and keep account-level guards like S3 Block Public Access enabled.
- Medium
Full datasync access on every resource
Uses datasync:* with Resource "*" and no condition, so every action AWS adds to that service later is granted too.
datasync:*Use with caution: The grant grows every time the service does. For long-lived access, prefer a policy that lists the actions you actually need.
Policy Document
View on GitHub{
"PolicyVersion": {
"Document": {
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DataSyncFullAccessPermissions",
"Effect": "Allow",
"Action": [
"datasync:*",
"ec2:CreateNetworkInterface",
"ec2:CreateNetworkInterfacePermission",
"ec2:DeleteNetworkInterface",
"ec2:DescribeNetworkInterfaces",
"ec2:DescribeRegions",
"ec2:DescribeSecurityGroups",
"ec2:DescribeSubnets",
"ec2:DescribeVpcEndpoints",
"ec2:ModifyNetworkInterfaceAttribute",
"fsx:DescribeFileSystems",
"fsx:DescribeStorageVirtualMachines",
"elasticfilesystem:DescribeAccessPoints",
"elasticfilesystem:DescribeFileSystems",
"elasticfilesystem:DescribeMountTargets",
"iam:GetRole",
"iam:ListRoles",
"logs:CreateLogGroup",
"logs:DescribeLogGroups",
"logs:DescribeResourcePolicies",
"outposts:ListOutposts",
"s3:GetBucketLocation",
"s3:ListAllMyBuckets",
"s3:ListBucket",
"s3:ListBucketVersions",
"s3-outposts:ListAccessPoints",
"s3-outposts:ListRegionalBuckets",
"secretsmanager:ListSecrets",
"kms:ListAliases",
"kms:DescribeKey"
],
"Resource": "*"
},
{
"Sid": "DataSyncPassRolePermissions",
"Effect": "Allow",
"Action": [
"iam:PassRole"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"iam:PassedToService": [
"datasync.amazonaws.com"
]
}
}
},
{
"Sid": "DataSyncCreateSLRPermissions",
"Effect": "Allow",
"Action": "iam:CreateServiceLinkedRole",
"Resource": "arn:aws:iam::*:role/aws-service-role/datasync.amazonaws.com/AWSServiceRoleForDataSync",
"Condition": {
"StringEquals": {
"iam:AWSServiceName": "datasync.amazonaws.com"
}
}
},
{
"Sid": "DataSyncSecretsManagerCreateAccess",
"Effect": "Allow",
"Action": [
"secretsmanager:CreateSecret"
],
"Resource": [
"arn:*:secretsmanager:*:*:secret:aws-datasync!*"
],
"Condition": {
"StringEquals": {
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
},
{
"Sid": "DataSyncSecretsManagerAccess",
"Effect": "Allow",
"Action": [
"secretsmanager:DeleteSecret",
"secretsmanager:UpdateSecret",
"secretsmanager:PutSecretValue"
],
"Resource": [
"arn:*:secretsmanager:*:*:secret:aws-datasync!*"
],
"Condition": {
"StringEquals": {
"secretsmanager:ResourceTag/aws:secretsmanager:owningService": "aws-datasync",
"aws:ResourceAccount": "${aws:PrincipalAccount}"
}
}
}
]
},
"VersionId": "v16",
"IsDefaultVersion": true,
"CreateDate": "2026-02-12T18:03:11+00:00"
}
}Version History (20 recorded)
Raw historyAWSDataSyncFullAccess - Policy Version v16
No recorded action delta - this version predates the change index. View the raw diff.
Mar 12, 2026
41d8569AWSDataSyncFullAccess - Policy Version v16
No recorded action delta - this version predates the change index. View the raw diff.
Feb 12, 2026
8112b5aAWSDataSyncFullAccess - Policy Version v13
No recorded action delta - this version predates the change index. View the raw diff.
Feb 12, 2026
2afb068Update detected
No recorded action delta - this version predates the change index. View the raw diff.
May 20, 2025
17e812cUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
May 7, 2025
254d1b4Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Apr 23, 2025
cf3ad00Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Oct 18, 2024
035bf20Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 18, 2024
aafbae9Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Jul 22, 2024
22c7d2bUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
May 13, 2024
1b36617Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Feb 16, 2024
aced280Update detected
No recorded action delta - this version predates the change index. View the raw diff.
May 2, 2023
67dd98aUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Jun 30, 2020
a1d3204Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Jan 24, 2020
eb98079Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 16, 2019
49aa1d0Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 16, 2019
71619cfUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 16, 2019
8279033`2019-08-29`
No recorded action delta - this version predates the change index. View the raw diff.
Aug 29, 2019
5016d52I updated my CLI and it looks like it reordered everything and changed the white-space, so everything looks changed, but is not
No recorded action delta - this version predates the change index. View the raw diff.
Jul 12, 2019
9d2dff1First commit
No recorded action delta - this version predates the change index. View the raw diff.
Feb 10, 2019
ad4c2e8