minio-api

command module
v0.0.0-...-6c048f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2019 License: MIT Imports: 10 Imported by: 0

README

minio-api

MINIO-API

API to manage Minio IAM users and Servers
Explore the docs »

Table of Contents

About The Project

Minio-api is a simple admin REST API for minio s3 server. The API manages the same features and resources that AWS IAM applies but oficial MINIO API doesn't support: groups, policies, users, keys.

Built With

Minio-api was made based on:

Getting Started

To get Minio-API as a local copy up and running follow these simple example steps below.

Prerequisites

Before running minio-api, install golang and docker acconding to your OS.

Installation

  1. Clone the repo:
git clone https://github.com/aminueza/minio-api.git
  1. Build MINIO-API project:
go build main.go
  1. Run MINIO-API project:
./main
  1. Testing MINIO-API project:
curl -X GET http://localhost:8080/api/v1/version

Dockerize Minio-api

There is a Dockerfile and a Docker-Compose to run MINIO-API. Run it:

docker-compose -f docker-compose.yml up

Configuration

Variable Description Default
API_HOST_PORT which host and port API should listening. Docker and Kubernetes must listening on 0.0.0.0:8080 localhost:8080
MINIO_HOST_PORT provide a minio server host and port localhost:9000
MINIO_SSL enable or disable ssl false
MINIO_REGION set minio region us-east-1
MINIO_ACCESS set minio Access Key minio
MINIO_SECRET set minio Secret Key minio123

API Reference

  • TO-DO

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL