AWS Fundamentals Logo
AWS Fundamentals
AWS::IAM::AccessKey

IAM AccessKey

Resource Type definition for AWS::IAM::AccessKey

Properties

3 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
UserName
string
RequiredCreate-only
Serial
integer
Create-only
Status
string

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Idstring-
SecretAccessKeystring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IAM::AccessKey

Resources:
  MyResource:
    Type: AWS::IAM::AccessKey
    Properties:
      UserName: "my-username"

Get the IAM Cheat Sheet

Everything you need to know about IAM on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceIAM
Properties5
Required1
TaggingNot supported
Primary IDId

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

UserNameSerial

External Links