Summary
Expose non-secret S3-compatible connection metadata derived from SDK authorization so downstream workflow steps can configure S3-compatible tooling without re-authorizing.
Why
The SDK includes an S3 helper that derives endpoint, region, and path-style configuration from B2 auth state. The action already authorizes, but it does not emit the S3 endpoint or region. Workflows that use AWS CLI, rclone, or custom S3 clients after a B2-native action step must rediscover or hard-code those values.
SDK support (already available)
createS3ClientConfig(...) from @backblaze-labs/b2-sdk/s3
StorageApiInfo.s3ApiUrl
- S3 region extraction from the S3 API URL
Proposed surface
New outputs after authorization:
s3-endpoint
s3-region
s3-force-path-style (true)
Do not output the application key secret. Downstream tools should continue to read credentials from existing secrets/env vars.
Acceptance criteria
Out of scope
- Implementing S3 operations directly in this action.
- Emitting AWS-style secret/access-key config as a single JSON blob.
Summary
Expose non-secret S3-compatible connection metadata derived from SDK authorization so downstream workflow steps can configure S3-compatible tooling without re-authorizing.
Why
The SDK includes an S3 helper that derives endpoint, region, and path-style configuration from B2 auth state. The action already authorizes, but it does not emit the S3 endpoint or region. Workflows that use AWS CLI, rclone, or custom S3 clients after a B2-native action step must rediscover or hard-code those values.
SDK support (already available)
createS3ClientConfig(...)from@backblaze-labs/b2-sdk/s3StorageApiInfo.s3ApiUrlProposed surface
New outputs after authorization:
s3-endpoints3-regions3-force-path-style(true)Do not output the application key secret. Downstream tools should continue to read credentials from existing secrets/env vars.
Acceptance criteria
s3-endpointands3-regionderived from the SDK/auth state.Out of scope