Skip to content

Commit

Permalink
S3StorageConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jaceklaskowski committed Oct 20, 2024
1 parent a78450b commit 725059c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/credential-vending/S3StorageConfig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# S3StorageConfig

`S3StorageConfig` represents a configuration of a bucket (_a container for objects_) in [Amazon S3](https://aws.amazon.com/s3/).

`S3StorageConfig` is a collection of the following properties:

* <span id="bucketPath"> Bucket Path
* <span id="region"> S3 Region
* <span id="awsRoleArn"> Role ARN
* <span id="accessKey"> Access Key
* <span id="secretKey"> Secret Key
* <span id="sessionToken"> Session Token

`S3StorageConfig` is created only when `ServerProperties` is requested for the [S3 configurations](../server/ServerPropertiesUtils.md#getS3Configurations).

`S3StorageConfig` is used by the following services:

* [AwsCredentialVendor](AwsCredentialVendor.md#s3Configurations) to [vendAwsCredentials](AwsCredentialVendor.md#vendAwsCredentials) and [getStsClientForStorageConfig](AwsCredentialVendor.md#getStsClientForStorageConfig)
* [FileIOFactory](../iceberg/FileIOFactory.md) to [getS3FileIO](../iceberg/FileIOFactory.md#getS3FileIO)
* [TableConfigService](../iceberg/TableConfigService.md#s3Configurations) to [getS3Config](../iceberg/TableConfigService.md#getS3Config)

0 comments on commit 725059c

Please # to comment.