Skip to content
Console
On this page

Sign s3 request on a connection

Signs one exact S3 object request under a committed Connection and workload grant.

Signs one exact S3 object request under a committed Connection and workload grant.

  • Path POST https://api.sylphx.com/v1/orgs/acme/connections/connection:signS3Request
  • Scope broker:s3:sign
  • Effect read — nothing is written.
  • Collection connections

Request

FieldTypeWhat it is
namestringSame-org S3 signing Connection. Required.
methodstringGET or PUT only. Required.
originstringExact canonical HTTPS origin from the Connection. Required.
object_keystringPath-style bucket and key, without the initial slash. Required.
if_none_matchstring'*' for PUT; unset for GET.
payload_sha256stringLowercase hex SHA-256; for GET, the digest of an empty body. Required.

Response

FieldTypeWhat it is
authorizationstringSigV4 Authorization header. Output only.
amz_datestringx-amz-date wire header in the exact SigV4 signing format. Output only.
payload_sha256stringx-amz-content-sha256 header. Output only.

Errors

  • UNAUTHENTICATED — No valid key or token was presented.
  • PERMISSION_DENIED — The key lacks the method's permission.
  • RESOURCE_NOT_FOUND — The named Resource does not exist or is not visible.
  • INVALID_FIELD — A field failed validation.
  • FAILED_PRECONDITION — A released manifest owns a requested resource field. Change the declaration in the named file and key path, then release.
  • UNAVAILABLE — The Resource store, the owning service's backend, or the key verifier's snapshot is unavailable; retry after Retry-After.
  • RATE_LIMITED — The rate limit is reached; see Retry-After.

Every error arrives in the body Errors describes.

Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/connections/connection:signS3Request" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"…","object_key":"…","origin":"…","payload_sha256":"…"}'