Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to release 2.6.0.
Principal TypeExplanationCredential lifetime (min/max/default)Learn more at AWS
Federated User

Yields temporary AWS security credentials for a federated user with the Atlassian user name and an optional, yet typically required IAM

policy (if absent, AWS applies a default

Policy (check Omit IAM Policy when resource-based policies are used instead)

Note

In order to use the Federated User

Principal Type
The following

This example

shows a

policy

that

grants permission to access the AWS STS GetFederationToken API

- you need to add it Permissions in Temporary Security Credentials for Federated Users

once added to the long-term AWS security credentials you are about to use for federation (i.e. not here in this AWS Connector dialog):

Code Block
languagejs
titleExample IAM Policy
collapsetrue
{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": "sts:GetFederationToken",
    "Resource": "*"
  }]
}
Info

AWS Elastic Beanstalk is the only remaining service not supported by Federated User yet - use Account (IAM User) instead.

Federated User does not allow to access IAM or STS APIs, for example when creating IAM resources via CloudFormation - use Assume Role for these scenarios instead.

IAM user: 15m/36hr/12hr

Root account: 15m/1hr/1hr

Account (IAM User
Assume Role

Yields temporary AWS security credentials for an assumed role with the Atlassian user name and an optional External ID and an optional IAM Policy (if absent, AWS applies a default)

Note

In order to use the Assume Role principal type, you need to Grant an IAM Group Permission to Create Temporary Credentials! This example policy grants permission to access the AWS STS AssumeRole API once added to the long-term AWS security credentials you are about to use for federation (i.e. not here in this AWS Connector dialog):

Code Block
languagejs
titleExample IAM Policy
collapsetrue
{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": "sts:AssumeRole",
    "Resource": "arn:aws:iam::123123123123:role/UpdateAPP"
  }]
}
15m/1hr/1hr
IAM User (session token)

Yields temporary AWS security credentials for the selected IAM user (recommended) or AWS account (disadvised) itself

Info
Account (
IAM User (session token) does not allow to specify IAM policies or distinguish users - use Federated User or Assume Role for these
features
scenarios instead.
Permissions in Temporary Security

IAM user: 15m/36hr/12hr

Root account: 15m/1hr/1hr