--- title: "S3 Connection Configuration" slug: "connection-configuration-s3" updated: 2024-09-10T11:31:23Z published: 2024-09-10T11:31:23Z canonical: "documents.trocco.io/connection-configuration-s3" --- > ## Documentation Index > Fetch the complete documentation index at: https://documents.trocco.io/llms.txt > Use this file to discover all available pages before exploring further. # S3 Connection Configuration ## summary This is a help page on the procedure for using S3 with TROCCO. ## entry ### Basic Information | item name | indispensable | Contents | | --- | --- | --- | | Name | Yes | Enter the name of the Connection Configuration to be used inside TROCCO. | | memo | No | Enter a note of Connection Configuration to be used inside TROCCO. | ### Connection Configuration You can choose one of the following as your AWS authentication method - IAM role: Obtains temporary authentication information during data transfer. - IAM user: Permanent credentials are issued and used during data transfer. AWS Authentication by IAM role Unlike authentication by IAM users, there is no need to enter credentials (AWS access key and AWS secret access key) on TROCCO. This allows for a more secure data transfer environment. In addition, in order to obtain temporary authentication information during data transfer, in the AWS IAM role managed by the customer, TROCCO's AWS account must be registered as **a trusted entity type**. For more information on IAM roles, see [IAM Role Issuance Procedure](/docs/connection-configuration-s3#iam%E3%83%AD%E3%83%BC%E3%83%AB%E3%81%AE%E7%99%BA%E8%A1%8C%E6%89%8B%E9%A0%86). #### AWS Authentication Method: AWS Authentication Method: AWS Authentication Method: AWS Authentication Method For IAM roles | item name | indispensable | Contents | | --- | --- | --- | | AWS Account ID | Yes | Please enter the AWS account ID where your IAM role resides. | | IAM role name | Yes | Enter the IAM role name created in your AWS account. Example: The `trocco-role` | | TROCCO's AWS account ID (read-only) | - | Please allow the following AWS account ID when issuing IAM roles. `545668264778` | | External ID (read-only) | - | This information is automatically generated on TROCCO's Connection Configuration screen. Allow the external IDs shown on TROCCO when the IAM role is issued. | #### AWS Authentication Method: AWS Authentication Method: AWS Authentication Method: AWS Authentication Method For IAM users | item name | indispensable | Contents | | --- | --- | --- | | AWS Access Key ID | Yes | Enter the access key ID of the IAM user created in AWS. | | AWS Secret Access Key | Yes | Enter the secret access key of the IAM user you created in AWS. | IAM User Issuance Procedure See [IAM User Issuance Procedure](/docs/connection-configuration-s3#iam%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%81%AE%E7%99%BA%E8%A1%8C%E6%89%8B%E9%A0%86). ## Procedure for issuing IAM roles 1. From the AWS IAM Management Console screen, click **Roles** > **Create Role**. 2. In Step 1, "Select Trusted Entities," configure as follows - `Trusted Entity Type`:. Select "AWS Account. - `Another AWS account`:. Enter TROCCO's AWS Account ID on TROCCO's S3 Connection Configuration form. - `Request External ID > External ID`:. Enter the "External ID" on TROCCO's S3 Connection Configuration form. ![image.png](https://cdn.document360.io/3a3bae1e-f157-487f-8798-01e9d820e760/Images/Documentation/connection-configuration-s3-2024-08-29-0-47-0.png) 3. In Step 2, "Add Permissions," configure as desired. 4. In Step 3, "Name, Confirm, and Create," configure as desired. - Note the role name entered here. 5. Enter the role name in the "IAM Role Name" field on TROCCO's S3 Connection Configuration form. ## IAM User Issuance Procedure ### Group Creation 1. Log in to the IAM console. 2. From the main page, select **Groups** and click **Create New Group**. ![image.png](https://cdn.document360.io/3a3bae1e-f157-487f-8798-01e9d820e760/Images/Documentation/connection-configuration-s3-2024-08-29-0-47-1.png) 3. Enter a group name and click **Next Step**. ![image.png](https://cdn.document360.io/3a3bae1e-f157-487f-8798-01e9d820e760/Images/Documentation/connection-configuration-s3-2024-08-29-0-47-2.png) 4. Select the desired policy and click **Next Step**. Select Amazon S3 Full Access. ![image.png](https://cdn.document360.io/3a3bae1e-f157-487f-8798-01e9d820e760/Images/Documentation/connection-configuration-s3-2024-08-29-0-47-3.png) 5. Click **Create Group**. ![image.png](https://cdn.document360.io/3a3bae1e-f157-487f-8798-01e9d820e760/Images/Documentation/connection-configuration-s3-2024-08-29-0-47-4.png) ### User Creation 1. **From the** main page **,** select **Users** and click **Create New User**. ![image.png](https://cdn.document360.io/3a3bae1e-f157-487f-8798-01e9d820e760/Images/Documentation/connection-configuration-s3-2024-08-29-0-47-5.png) 2. Enter a user name and select **programmatic access** under Access Type. ![image.png](https://cdn.document360.io/3a3bae1e-f157-487f-8798-01e9d820e760/Images/Documentation/connection-configuration-s3-2024-08-29-0-47-6.png) 3. Create users by adding them to the group you just created. ![image.png](https://cdn.document360.io/3a3bae1e-f157-487f-8798-01e9d820e760/Images/Documentation/connection-configuration-s3-2024-08-29-0-47-7.png) 4. After creation, the AWS Access Key ID and AWS Secret Access Key will be displayed. ## Authority required to be granted The permissions that must be granted to users for S3 Connection Configuration are as follows - `s3:ListAllMyBuckets` - `s3:GetBucketLocation` - `s3:ListBucket` - `s3:GetObject` - `s3:PutObject` (if there is a case where it is also used as Data Destination) If the connection is to be used only as a Data Source, it can be established without any problem `even if s3:PutObject is` not assigned. ## supplement Reference: [AWS official website](https://aws.amazon.com/jp/developers/access-keys/)