Skip to main content

Interface: S3ArtifactStoreOptions

Defined in: packages/artifact-store/src/s3/adapter.ts:59

What createS3ArtifactStore needs: exactly the artifactStore.s3 block that artifactStoreConfigSchema() validates, after loading resolved credentials to a Secret.

Properties​

bucket​

readonly bucket: string

Defined in: packages/artifact-store/src/s3/adapter.ts:63

The bucket every key lives in: artifacts.


credentials​

readonly credentials: Secret<string>

Defined in: packages/artifact-store/src/s3/adapter.ts:65

The resolved secret://oktoid/artifacts/<writer>, holding <id>:<secret>.


endpoint​

readonly endpoint: string

Defined in: packages/artifact-store/src/s3/adapter.ts:61

Scheme, host and port of the store, no path: http://artifacts:7070.


forcePathStyle?​

readonly optional forcePathStyle?: boolean

Defined in: packages/artifact-store/src/s3/adapter.ts:69

Bucket in the path, not the host name. Default true.


maxAttempts?​

readonly optional maxAttempts?: number

Defined in: packages/artifact-store/src/s3/adapter.ts:71

Attempts per call, the first included. Default 3.


region?​

readonly optional region?: string

Defined in: packages/artifact-store/src/s3/adapter.ts:67

The signing region. Default us-east-1.


requestTimeoutMs?​

readonly optional requestTimeoutMs?: number

Defined in: packages/artifact-store/src/s3/adapter.ts:73

How long one attempt waits for the response, in milliseconds. Default 10000.