Sources

Connect Amazon S3

Changed on

Connects an Amazon S3 bucket (or an S3-compatible store through endpoint_url) with credentials sent once. The credentials are checked against the system before the connection is saved; secrets in the body are write-only, stored encrypted and never returned. A key that belongs to no person (one created before keys named their creator) is refused with 403.

Scope: sources:write. A key holding only the legacy write scope does not satisfy it.

post/v1/sources/connections/s3

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Request body

object required
name, string required

Display name.

access_key_id, string required

Access key id.

secret_access_key, string required

Secret access key. Write-only.

region, string

Bucket region.

endpoint_url, string

Endpoint of an S3-compatible store.

bucket, string

Bucket name.

Response

The new connection (without its credentials).

SourceConnection required
id, string uuid required
customer_id, string uuid
type, string required

Connector type, e.g. s3, gmail, google_drive, sql.

status, 'active' | 'revoked' required
name, string required
config, object

Connector settings.

sync_status, 'idle' | 'queued' | 'syncing' | 'error'
sync_error, string nullable
last_synced_at, string date-time nullable
sync_interval, 'off' | 'hourly' | 'daily' | 'weekly' | 'every_minute'
sync_scope, object nullable
document_count, integer
connected_by, string uuid nullable

The person who connected it.

created_at, string date-time
updated_at, string date-time

Changes