mirror of
https://gh.wpcy.net/https://github.com/hochenggang/simple-php-s3-server.git
synced 2026-07-14 11:06:38 +08:00
26 lines
594 B
INI
26 lines
594 B
INI
; PHP S3 Compatible Gateway Configuration
|
|
|
|
; General configuration
|
|
[general]
|
|
DATA_DIR=../data
|
|
S3_XML_NS=http://s3.amazonaws.com/doc/2006-03-01/
|
|
APP_DEBUG=true
|
|
|
|
; Access Keys configuration
|
|
; Format: [keys.{access_key_id}]
|
|
; Each key can have:
|
|
; - secret_key (required)
|
|
; - allowed_buckets (optional, comma-separated, * or unset means no limit)
|
|
; - file_max_size (optional, in KB, 0 or unset means no limit)
|
|
|
|
[keys.key1]
|
|
secret_key=secret1
|
|
allowed_buckets=bucket1,bucket2
|
|
file_max_size=10240
|
|
|
|
[keys.key2]
|
|
secret_key=secret2
|
|
allowed_buckets=bucket3
|
|
|
|
[keys.admin_key]
|
|
secret_key=admin_secret
|