create_bucket
Create a new storage bucket with security validation and audit logging. Specify bucket name and public/private access to organize and secure your Supabase Storage files.
Instructions
Create a new storage bucket with comprehensive security validation and audit logging
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket_name | Yes | Name of the bucket to create (3-63 chars, lowercase, alphanumeric with hyphens) | |
is_public | No | Whether the bucket should be public |
Input Schema (JSON Schema)
{
"properties": {
"bucket_name": {
"description": "Name of the bucket to create (3-63 chars, lowercase, alphanumeric with hyphens)",
"maxLength": 63,
"minLength": 3,
"pattern": "^[a-z0-9][a-z0-9\\-]*[a-z0-9]$",
"type": "string"
},
"is_public": {
"default": false,
"description": "Whether the bucket should be public",
"type": "boolean"
}
},
"required": [
"bucket_name"
],
"type": "object"
}