Backups

Test S3 connectivity against a prospective source configuration (before creating it). The credentials are NOT persisted. Useful for validating the form in the UI.

Changed on
post/backups/s3-sources/test

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

access_key_idstring password required

Access key ID of the bucket's credentials, for example AKIA... on AWS.

backing_service_idinteger nullable

Managed RustFS/S3 service that supplies this destination. When set, schedules using this source can never target that service itself.

bucket_namestring required
bucket_pathstring required
endpointstring nullable

Optional endpoint for S3-compatible services like MinIO or RustFS, with or without a scheme. Stored with an explicit scheme: without one, use_tls decides it (plain http:// when that is unset too).

force_path_styleboolean nullable

Whether to use path-style addressing (default: true). Forced on for an IP-address endpoint and a Temps-managed object store.

is_defaultboolean nullable

When true, make this the default source (will swap out any existing default). The very first S3 source is always created as default regardless of this flag.

namestring required
regionstring required
secret_keystring password required

Secret access key that goes with the access key ID. Shown once by the provider; stored encrypted and never returned.

use_tlsboolean nullable

Whether the endpoint is reached over TLS. Only needed for an endpoint entered without a scheme; one that conflicts with the endpoint's scheme is rejected.

worker_credentials'scoped' | 'allow_full' nullable

What a worker node may receive from an S3 source (ADR-102).

Example request

{
  "endpoint": "http://minio.example.com:9000",
  "force_path_style": true
}

Response

Connection test result

messagestring required

Human-readable message (success confirmation or error detail).

okboolean required

Whether the connection and credentials worked.

Changes