AWS S3 Transfer
Introduction
The EDC provides the capability to transfer data from and to AWS S3 buckets. This guide provides step-by-step instructions on how to:
Set up AWS S3 buckets using the AWS Console
Prepare the necessary parameters for providing and consuming S3 buckets
Configure the EDC to provide an S3 bucket as a data source
Initiate a data transfer using a consuming EDC
AWS Setup
To enable access to an AWS S3 bucket, follow these steps using the AWS Console.
This guide holds for AWS long-term credentials.
Create a
S3 Bucket
Follow the AWS guide: AWS S3 Create Bucket Documentation
Create an
IAM UserFollow the AWS guide: AWS IAM Create User Documentation
Navigate to
IAM>Users>Add UserAssign the necessary permissions to allow access to the S3 bucket
Reference: AWS IAM Policies Documentation
Policies could be configured such that it is only possible to read/write certain objects in certain buckets
Create an
Access Key
Follow the AWS guide: AWS IAM Access Keys Documentation
Go to the IAM user details page
Select the
Security credentialstabGenerate an
Access Key:Thirdparty-Service
Required Parameters
AWS_S3_REGION
The region that has been chosen for the S3 bucket during the Create a S3 Bucket step
AWS_S3_BUCKET_NAME
The name that has been chosen for the S3 bucket during the Create a S3 Bucket step
AWS_S3_OBJECT_NAME
The object stored in the S3 bucket that needs to be provided/created
AWS_KEY_ID
The keyId created in step Create an Access Key
AWS_SECRET
The secret of the key created in step Create an Access Key
EDC Provider
To configure an EDC instance as a data provider, follow these steps:
Refer to the general EDC data provisioning guide
Define
PoliciesandContractDefinitions(same as for other data sources)Configure the
Assetfor AWS S3 with the EDC Management API using the following JSON payload:
EDC Consumer
To consume an S3 bucket from another connector, a Contract Agreement must be successfully negotiated. This can be achieved using the EDC UI:
Follow the guide for Finding Offers & Contracting in this documentation.
The following variables are required for starting the
Transfer Processlater:All of them can be seen by using the
Contractspage of the EDC-Ui and viewing the details of the corresponding contract.COUNTER_PARTY_DSP(Data Space Protocol endpoint of the provider)COUNTER_PARTY_BPN(Business Partner Number of the provider)ASSET_ID(Identifier of the asset to be consumed)CONTRACT_AGREEMENT_ID(Agreement ID of the negotiated contract)
Initiating a Data Transfer
Use the following JSON payload to start a data transfer request using the Transfer Process within the Management API.
Last updated
Was this helpful?
