Skip to main content
IAM Policy Map

AWSCodeArtifactAdminAccess

AdminAWS managedActivePermissions reviewedShow on mapCompare

Summary

Provides full access to AWS CodeArtifact via the AWS Management Console.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/AWSCodeArtifactAdminAccess
Default version
v1
Created
Last edited
Services
codeartifact, sts

Control-plane actions (52)

By access level: 12 List, 2 Permissions management, 14 Read, 2 Tagging, 22 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CodeArtifactAll 51 actions (see the CodeArtifact page)12 List, 2 Permissions management, 13 Read, 2 Tagging, 22 Write; 0 restricted, 0 conditionalcodeartifact:*
STS1 of 161 Read; 1 restricted, 1 conditionalsts:GetServiceBearerToken
STS: 1 actions
  • sts:GetServiceBearerToken (Read)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: all-resources.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants at least 80% of the write and permissions-management actions of: codeartifact (24 of 24).

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Action": [
        "codeartifact:*"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "sts:GetServiceBearerToken",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "sts:AWSServiceName": "codeartifact.amazonaws.com"
        }
      }
    }
  ]
}

Version history

Current version v1, edited by AWS on 2020-06-16. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AWSCodeArtifactAdminAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSCodeArtifactAdminAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSCodeArtifactAdminAccess

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/AWSCodeArtifactAdminAccess

Terraform

resource "aws_iam_role_policy_attachment" "awscodeartifactadminaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AWSCodeArtifactAdminAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AWSCodeArtifactAdminAccess"),
);

Sources

Pending editorial review. No editorial sources are listed yet.