---
# @generated by sylphx-gen. Do not edit.
title: "Sign s3 request on a connection"
description: "`broker.connections.sign_s3_request` (POST /v1/{name}:signS3Request): Signs one exact S3 object request under a committed Connection and workload grant."
type: reference
product: platform
summary: "Signs one exact S3 object request under a committed Connection and workload grant."
updated: 2026-09-28
nav: false
---

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](/docs/api/connections)

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Same-org S3 signing Connection. Required. |
| `method` | `string` | GET or PUT only. Required. |
| `origin` | `string` | Exact canonical HTTPS origin from the Connection. Required. |
| `object_key` | `string` | Path-style bucket and key, without the initial slash. Required. |
| `if_none_match` | `string` | '*' for PUT; unset for GET. |
| `payload_sha256` | `string` | Lowercase hex SHA-256; for GET, the digest of an empty body. Required. |

## Response

| Field | Type | What it is |
| --- | --- | --- |
| `authorization` | `string` | SigV4 Authorization header. Output only. |
| `amz_date` | `string` | x-amz-date wire header in the exact SigV4 signing format. Output only. |
| `payload_sha256` | `string` | x-amz-content-sha256 header. Output only. |

## Errors

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

Every error arrives in the body [Errors](/docs/platform/errors) describes.

## Examples

**cURL**

```curl
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":"…"}'
```

**TypeScript**

```ts
const response = await sylphx.broker.connections.signS3Request({ method: '…', name: 'orgs/acme/connections/connection', objectKey: '…', origin: '…', payloadSha256: '…' })
```

**Rust**

```rust
let mut req = sylphx::broker::SignS3RequestRequest::default();
req.method = "…".to_string();
req.name = "orgs/acme/connections/connection".to_string();
req.object_key = "…".to_string();
req.origin = "…".to_string();
req.payload_sha256 = "…".to_string();
let response = sx.broker().connections().sign_s3_request(req).await?;
```

**CLI**

```bash
sylphx broker connections sign-s3-request orgs/acme/connections/connection
```

**MCP**

```json
{ "method_id": "broker.connections.sign_s3_request", "args": {"method":"…","name":"orgs/acme/connections/connection","object_key":"…","origin":"…","payload_sha256":"…"} }
```
