rset(1) : Formulas

Minio Lab

Minio provides a quick means of standing up an S3 endpoint.

By unsetting execute_with, commands will be run as the connecting user. (For a home network this is probably your account, but for a larger environment it probably makes sense to connect using and admin account.)

OpenBSD Install

execute_with=doas

packages:
   pkg_add minio minioc

services:
   doas rcctl enable minio
   doas rcctl start minio

execute_with=

minio_config:
   alias mc=minioc
   mc --insecure alias set minio1/ http://192.168.2.28:9000 minioadmin minioadmin

   # users/policy
   mc admin user add minio1 eradman 12345678
   mc admin policy set minio1 readwrite user=eradman

   # make buckets
   mc mb -p minio1/archive1