Create S3 Connector
Body
POST /v1/connector -- S3 credential variant.
The customer creates an IAM role in their AWS account whose trust
policy allows the OuterProduct shared principal under the condition
sts:ExternalId == <this org's external_id> (fetched from
GET /v1/account/aws-setup). The server probes the role by
calling sts:AssumeRole with the caller's external_id, then
issuing head_bucket / list_objects_v2 against
bucket_uri with ExpectedBucketOwner == expected_bucket_owner_account_id. The credential row is only
inserted if the probe succeeds; role_arn, bucket_uri and
expected_bucket_owner_account_id are stored on the row as the
validated target so console.op can show "validated against X" per
credential. No AWS keys are accepted or stored.
Unique-per-user name for this credential entry.
Full ARN of the customer's IAM role. Must trust the OuterProduct shared principal under sts:ExternalId == <this org's external_id>.
^arn:aws:iam::[0-9]{12}:role/.+$Full s3://bucket[/prefix] URI the server probes after assuming the role. Stored on the row as the validated target.
12-digit AWS account ID that owns the target bucket. Passed as ExpectedBucketOwner on every S3 op to reject a misdirected role that points at someone else's bucket.
^[0-9]{12}$"s3"Response
Successful Response
Returned by POST / GET endpoints.
The verified_* fields surface the probe target the credential
was validated against at create time. Exactly one set of fields is
populated per response, matching connector_type:
s3→verified_bucket_uri+verified_role_arn+verified_bucket_owner_account_idsnowflake→verified_account+verified_warehouse+verified_database+verified_schema_namedatabricks→verified_server_hostname+verified_http_pathverified_catalog+verified_schema_name
id is the stored credential's identifier — the value referenced as
connector_credential_id on a connection config and as connector_id
in the per-type delete route (DELETE /connectors/{type}/{connector_id}).
Supported external data source types for user-owned credentials.
s3, snowflake, databricks, file_upload