Backups

Update an S3 source

Changed on
patch/backups/s3-sources/{id}

Request

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

Path parameters

idinteger required

Request body

access_key_idstring password nullable

A credential. Write-only: it is never returned, and the AI assistant supplies it through a secret slot instead of typing it into the conversation.

bucket_namestring nullable

Optional new bucket name

bucket_pathstring nullable

Optional new bucket path

endpointstring nullable

Optional new endpoint for S3-compatible services, with or without a scheme. An empty string clears it (AWS S3 itself).

force_path_styleboolean nullable

Optional new path-style addressing setting

namestring nullable

Optional new name for the source

regionstring nullable

Optional new region

secret_keystring password nullable

A credential. Write-only: it is never returned, and the AI assistant supplies it through a secret slot instead of typing it into the conversation.

use_tlsboolean nullable

Whether the endpoint is reached over TLS; decides the scheme of an endpoint entered without one, and must agree with one entered with it.

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

S3 source updated

access_key_idstring required
bucket_namestring required
bucket_pathstring required
created_atstring date-time required
effective_endpointstring nullable

The endpoint every client (WAL-G, restore and worker jobs) receives, always with an explicit scheme. None for AWS S3 itself.

effective_force_path_styleboolean required

Whether clients actually use path-style addressing.

endpointstring nullable
force_path_styleboolean nullable
idinteger required
is_defaultboolean required
managed_by_cloudboolean required

True when this source was auto-provisioned by a Temps Cloud link rather than entered by an operator. Managed sources cannot be edited or deleted from this API; disconnect Temps Cloud to remove one.

namestring required
path_style_reason'configured' | 'ip_address_endpoint' | 'managed_object_store' required

Why effective_force_path_style has its value: the source's own setting, or forced because the endpoint is an IP address or a Temps-managed object store.

regionstring required
secret_keystring required
updated_atstring date-time required
worker_credentials'scoped' | 'allow_full' required

What a worker node receives from this source (ADR-102).

Example response

{
  "access_key_id": "AKIAXXXXXXXXXXXXXXXX",
  "effective_endpoint": "http://10.0.0.5:9000",
  "endpoint": "http://minio.example.com:9000"
}

Changes

    • breaking

      the created_at response's property type changed from integer to string, and format from int64 to date-time for status

    • breaking

      the updated_at response's property type changed from integer to string, and format from int64 to date-time for status

    • info

      added the new optional request property use_tls

    3 more changes in this revision