Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed count mismatch.
Section
Column
width64%

Identity Federation for AWS is a foundational Amazon Web Services (AWS) integration add-on that provides Temporary AWS Security Credentials to Atlassian groups and enables access control to AWS Resources via Identity and Access Management (IAM) Policies – from a technical perspective it implements an Identity Broker/Token Vendor that uses the Atlassian Authentication System (Crowd) to Grant Access to AWS Resources.

Column
width32%
Panel
bgColor#eeeeee

On this page:

Table of Contents

...

The add-on currently supports the following Principal Types:

Info
titleCapabilities and Restrictions

Each Principal Type has different capabilities and restrictions regarding Single Sign-On (SSO) to the AWS Management Console, Multi-Factor Authentication (MFA) and calling the IAM and STS APIs in turn, see Comparing Features of AWS STS APIs for details.

 Principal TypeAWS DocumentationAPI actionNotes
(tick) Federated UserTemporary Security Credentials to Enable Access for Federated UsersGetFederationToken 
(tick) IAM UserTemporary Security Credentials to Enable Access for IAM UsersGetSessionToken 
(tick)(info) IAM RoleTemporary Security Credentials for Delegating API AccessAssumeRole

Support for IAM roles is on our roadmap, see UAA-32 for details 

(error) SAML FederationTemporary Security Credentials for SAML FederationAssumeRoleWithSAMLSupport for SAML is not on our roadmap, see the resp. FAQ for details

AWS Connector Management

...

In order to enable the desired access to your AWS resources, you need to create at least one AWS Connector. You can access this functionality via the AWS Connectors management screen:

Create/Edit Connector

Clicking Create Connector (or Edit later on) opens the Edit AWS Connector dialog:

...

  1. Select the account to use (you might need to add accounts first)
  2. Choose this Connector's name
  3. Choose the Principal Type - there are two the following choices currently:

    Include Page
    _PrincipalTypesTable
    _PrincipalTypesTable

     

  4. (Optional) Add an IAM Policy (only available for Principal Type principal types Federated User and Assume Role)
  5. (Optional) Set the maximum number of seconds temporary credentials based on this connector can be valid - leave empty to use AWS default values
  6. (Optional) Grant the permission to use this Connector to one or more of your JIRA or Bamboo groups

    Info
    Administrators always have permission to use all Connectors.
  7. (Optional) Select System Scope to allow usage of this AWS Connector from elevated code without an active user session (e.g. by another add-on like Tasks for AWS).

...

Note
titleRequired IAM Permissions
In order to use the Federated User Principal Type or Assume Role principal types, you need to Grant an IAM Group Permission to Create Temporary Credentials! See Federated User in the Principal Types table above for details.

...

Configuring an AWS Connector with (optional) IAM Policy and Atlassian user group selection

Once you have added at least one account (see above) you can configure an arbitrary number of AWS Connectors using these. A Connector requires an arbitrary name according to your needs, the account to use and an (optional) IAM Policy, see Overview of Policies. You can reuse existing policies already in use in your organization or create new policies tailored to your use case via the AWS Policy Generator.

While not required, you might want to grant one or more of your Atlassian user groups the permission to use the AWS Connector (if no group is selected, only administrators will be able to use it).

IAM Policy Examples

Clicking on 'IAM Policy Examples' allows you to select from a few example policies to ease getting started (just click one to copy it to the policy field) - links to the AWS Policy Generator and the IAM Policy Simulator are also provided:

...