Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gawsoftpl/minio-init-standalone

Simple script for create buckets and user for standalone minio s3 server
https://github.com/gawsoftpl/minio-init-standalone

bash minio s3

Last synced: about 11 hours ago
JSON representation

Simple script for create buckets and user for standalone minio s3 server

Awesome Lists containing this project

README

        

# minio-init-standalone
Initial script for create user and bucket for standalone minio s3 server

# Requered ENV
```
ENDPOINT=http://s3:9000
MINIO_ROOT_USER=minio
MINIO_ROOT_PASSWORD=minio123
```

# For create user
```
access_key=abcfdsf
secret_key=dfgdfgdf
POLICY_NAME=readwrite
```

# For create bucket
```
INITIAL_BUCKET_NAME_1=abc2
INITIAL_BUCKET_NAME_2=abcd
INITIAL_BUCKET_NAME_3=ab
BUCKET_LIFECYCLE_DAYS=30
BUCKET_LIFECYCLE_PREFIX=test-
etc up to 1000
```

# Execute
```sh
/bin/bash create-s3.sh
```