Verify Database S3 Access
verify-database-s3-accessVerify RawTree can access customer-owned S3 data and backup buckets via an IAM role before creating a database, confirming write and delete permissions on configured paths.
Instructions
Purpose: Verify that RawTree can use a customer IAM role to access customer-owned S3 storage before creating a database.
Returns: Whether access was verified and a human-readable result message.
Behavior: RawTree assumes roleArn using externalId, checks the data and backup bucket locations, lists each configured path, and writes, reads, then removes a temporary probe object under each path. Paths are optional and default to the bucket root. Both configured buckets must be in the cluster environment's AWS region.
Safety: This check temporarily writes to and deletes from both configured destinations. Confirm the exact organization, cluster, database name, buckets, paths, role ARN, and External ID before running it. The IAM trust policy's External ID must match externalId exactly.
Auth: Organization-admin access is required. Authorization is enforced by the RawTree API.
Reliability: The check is safe to retry. Newly changed IAM policies may require a short propagation delay before verification succeeds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Database name to verify customer-owned S3 storage for. | |
| cluster | No | RawTree cluster to use for this operation. | |
| s3Storage | Yes | Customer-owned S3 configuration to verify for the database. | |
| organization | No | RawTree organization containing the target cluster. |