set_bucket_policy
Configure access permissions for a MinIO storage bucket by defining a JSON policy. Manage and enforce security rules for bucket-level operations.
Instructions
设置存储桶策略
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucketName | Yes | 存储桶名称 | |
policy | Yes | JSON格式的策略 |
Input Schema (JSON Schema)
{
"properties": {
"bucketName": {
"description": "存储桶名称",
"type": "string"
},
"policy": {
"description": "JSON格式的策略",
"type": "string"
}
},
"required": [
"bucketName",
"policy"
],
"type": "object"
}