S3 CSV target
target-s3-csv writes Singer streams as CSV objects in S3.
Target |
Status |
Load path |
|---|---|---|
S3 CSV |
Experimental |
Singer only; no FastSync or PartialSync |
Authentication
Credential resolution uses an explicit profile, environment credentials, then the host’s IAM role. Prefer temporary role credentials. If static credentials are unavoidable, encrypt them and rotate them independently of pipeline state.
aws_profile falls back to AWS_PROFILE. aws_access_key_id,
aws_secret_access_key, and aws_session_token fall back to
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN.
Configure the access-key ID and secret together; the session token is required
only for temporary static credentials. With none configured, Boto3 uses its
default credential chain.
Configuration
id: "s3_exports"
name: "S3 CSV exports"
type: "target-s3-csv"
db_conn:
s3_bucket: "analytics-exports"
s3_key_prefix: "pipelinewise/"
delimiter: ","
quotechar: '"'
encryption_type: "KMS"
encryption_key: "<KMS_KEY_ID>"
Setting |
Required |
Default |
Effect |
|---|---|---|---|
|
Yes |
— |
Destination bucket. |
|
No |
None |
Static prefix for generated object keys. |
|
No |
|
Selects a named profile when no static key pair is configured. |
|
No |
AWS environment |
Supplies a static credential pair; encrypt both YAML values. |
|
With temporary keys |
|
Completes temporary static credentials. |
|
No |
None |
Accepted by the PipelineWise schema but currently ignored by
|
|
No |
|
One-character field separator. |
|
No |
|
Quotes fields containing delimiters, quotes, or newlines. |
|
No |
None |
Selects no encryption or KMS encryption. |
|
With KMS |
— |
KMS key identifier. |
Before production use, verify object naming, retry duplication, CSV escaping, encryption, lifecycle retention, and downstream schema handling.