Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
AWS Security Credentials Variations
The add-on currently supports the following Principal Types:
Principal Type | AWS Documentation | API action | Notes | |
---|---|---|---|---|
Federated User | Temporary Security Credentials to Enable Access for Federated Users |
...
GetFederationToken | ||||
IAM User | Temporary Security Credentials to Enable Access for IAM Users | GetSessionToken | ||
IAM Role | Temporary Security Credentials for Delegating API Access |
...
width | 32% |
---|
...
bgColor | #eeeeee |
---|
On this page:
...
AssumeRole | Support for IAM roles is on our roadmap, see UAA-32 for details | |||
SAML Federation | Temporary Security Credentials for SAML Federation | AssumeRoleWithSAML | Support for SAML is not on our roadmap, see the resp. FAQ for details |
AWS Connector Management
Create Connector
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 Connector Connectors management screen.:
Create/Edit Connector
Clicking Create Connector (or Edit later on) opens the Edit AWS Connector dialog:
Here are the required steps:
- Select the account to use (you might need to add accounts first)
- Choose this Connector's name
Choose the Principal Type - there are tow choices currently
(Principal Type Explanation Learn more at AWS Federated User Yields temporary credentials for a federated user with the Atlassian user name and an optional IAM policy (if absent, AWS applies a default)
Info A few services aren't currently supported by Federated User - use Account (IAM User) for these instead:
AWS CloudFormation
Amazon Elastic MapReduce
AWS Elastic BeanstalkPermissions in Temporary Security Credentials for Federated Users Account (IAM User) Yields temporary credentials for the selected IAM user (recommended) or AWS account (disadvised) itself
Info Account (IAM User) does not allow to specify IAM policies or distinguish users - use Federated User for these features instead. Permissions in Temporary Security Credentials for IAM Users two choices currently:
Include Page _PrincipalTypesTable _PrincipalTypesTable - (Optional) Add an IAM Policy (only available for Principal Type Federated User)
- (Optional) Set the maximum number of seconds temporary credentials based on this connector can be valid - leave empty to use AWS default values
(Optional) Grant the permission to use this Connector to one or more of your JRIA JIRA or Bamboo groups
Info Administrators always have the permission to use all Connectors
Add Account
...
. - (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).
Add/Edit Account
In order to create AWS Connectors, you need to add the at least one account resp. IAM User, which provides the required secret credentials the add-on uses long-term AWS security credentials used to derive temporary AWS security credentials for your Atlassian users, see Create individual users for getting started with this approach.
Note | ||
---|---|---|
| ||
You In order to use the Federated User Principal Type, you need to Grant an IAM Group Permission to Create Temporary Credentials to facilitate this add-ons functionality!! See Federated User in the Principal Types table above for details. |
Accounts are added/edited/deleted inline while creating/editing an AWS Connector. All fields are required, you can select an arbitrary name according to your needs.
Info |
---|
Editing an existing account will change it for all AWS Connectors using it. |
Clicking Create Account (or Edit later on) opens the Edit Account (IAM User) dialog:
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) - a link links to the AWS Policy Generator is and the IAM Policy Simulator are also provided: