Skip to main content

Cyware Orchestrate

MinIO v2

App Vendor: MinIO

App Category: IT Services

App Version: 2.1.0

API Version: 1.0.0

About App

MinIO is a distributed Object Storage server that is used for large-scale private cloud infrastructure. MinIO aggregates persistent volumes (PVs) into scalable distributed Object Storage, by using Amazon S3 REST APIs. It is best suited for storing unstructured data such as photos, videos, log files, backups, VMs, and container images.

The MinIO app in the Orchestrate allows users to perform the following data and indexing related operations.

Action Name

Description

Get a list of Buckets

This action retrieves a list of buckets from the MinIO application.

Get a list of Bucket Objects

This action retrieves a list of files with a directory from a specific bucket in the MinIO application.

Download a file

This action downloads a file from a specific bucket in the MinIO application.

Minio Upload File

This action uploads a file to a specific bucket in the MinIO application.

Generate pre-signed URL for private object of a bucket

This action generates a pre-signed URL for a private object of a bucket.

Configuration Parameters

The below configuration parameters can be used to configure the MinIO app in the Orchestrate application.

Parameter

Description

Field Type

Required/Optional

Comments

Base URL

Enter the Base URL for the Minio API Endpoint. For example, https://s3.amazonaws.com

Text

Required

Access Key

Enter Access Key for Minio deployment.

Text

Required

Secret Key

Enter the Secret Key for Minio deployment.

Text

Required

Action: Get a list of Buckets

This action retrieves a list of buckets from the MinIO deployment.

Input Parameters

No input parameters are required for this action.

Action: Get a list of Bucket Objects

This action retrieves a list of files with object-path from a specific bucket in the MinIO deployment.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Bucket name

Specify the name of the bucket.

Example:

"local-storage".

Text

Required

Prefix

Specify the Prefix to filter search results.

Text

Optional

Number of Results

Specify the number to filter the results.

Integer

Optional

Example Input
[
    {
        "bucket_name": "local-storage"
    }
]
Action: Download a file

This action downloads a file from a specific bucket in the MinIO deployment.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Bucket name

Specify the name of the bucket.

Example:

"local-storage".

Text

Required

File Name

Specify the filename.

Example:

abc.png

Text

Optional

Remote File Path

Specify the remote file path with the filename.

Example: /test/abc.png

Text

Required

Example Input
[
    {
        "file_name": "abc.png",
        "bucket_name": "local-storage",
        "remote_file_path": "test/abc.png"
    }
]
Action: Minio Upload File

This action uploads a file to a specific bucket in the MinIO application.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Bucket name

Specify the name of the bucket.

Example:

"local-storage"

Text

Required

Local file path

Specify the local file path to upload the file.

Example:

"/tmp/guid/file.png"

Text

Required

Remote file path

Specify the file path to which you want to upload the file.

Example:

"/temp/bucket/good.png"

Text

Required

Example Input
[
    {
        "bucket_name": "local-storage",
        "remote_file_path": "/test/bucket/good.png",
        "file_name": "C:\Windows\Documents\abc.png"
    }
]
Action: Generate Pre-signed URL for Private Object of a Bucket

This action generates a pre-signed URL for a private object of a bucket.

Input Parameters

Parameter

Description

Field Type

Required/Optional

Comments

Bucket name

Specify the name of the bucket.

Example:

"local-storage"

Text

Required

File Name

Specify the filename.

Example:

abc.png

Text

Required

Link Expiry Time

Specify the expiry time in which the URL link will expire.

Text

Optional

Default value:

  • time - 300 seconds

Example Input
[
    {
        "file_name": "local-storage",
        "bucket_name": "abc.png",
        "expires": "300"
    }
]