Skip to main content

Call MinIO method

Action ID: tools.minio.call_method Instantiate a MinIO client and call a MinIO method. Reference: https://docs.min.io/community/minio-object-store/developers/python/API.html

Secrets

Required secrets:
  • minio: required values MINIO_ACCESS_KEY, MINIO_SECRET_KEY; optional values MINIO_ENDPOINT, MINIO_REGION.

Input fields

method_name
string
required
MinIO method name.
params
object
required
MinIO method parameters.
cert_check
boolean
Whether to check the server certificate for HTTPS connection.Default: true.
endpoint
string | null
MinIO endpoint URL.Default: null.
secure
boolean
Whether to use HTTPS connection.Default: true.

Copy MinIO objects

Action ID: tools.minio.copy_objects Copy MinIO objects from one bucket to another. Reference: https://docs.min.io/community/minio-object-store/developers/python/API.html#copy_object

Secrets

Required secrets:
  • minio: required values MINIO_ACCESS_KEY, MINIO_SECRET_KEY; optional values MINIO_ENDPOINT, MINIO_REGION.

Input fields

dst_bucket
string
required
Destination MinIO bucket name.
prefix
string
required
Prefix to filter objects.
src_bucket
string
required
Source MinIO bucket name.
cert_check
boolean
Whether to check the server certificate for HTTPS connection.Default: true.
endpoint
string | null
MinIO endpoint URL.Default: null.
secure
boolean
Whether to use HTTPS connection.Default: true.

Delete MinIO object

Action ID: tools.minio.delete_object Delete an object from MinIO. Reference: https://docs.min.io/community/minio-object-store/developers/python/API.html#remove_object

Secrets

Required secrets:
  • minio: required values MINIO_ACCESS_KEY, MINIO_SECRET_KEY; optional values MINIO_ENDPOINT, MINIO_REGION.

Input fields

bucket
string
required
MinIO bucket name.
key
string
required
MinIO object key.
cert_check
boolean
Whether to check the server certificate for HTTPS connection.Default: true.
endpoint
string | null
MinIO endpoint URL.Default: null.
secure
boolean
Whether to use HTTPS connection.Default: true.

Get MinIO object

Action ID: tools.minio.get_object Download an object from MinIO and return its body as a string. Reference: https://docs.min.io/community/minio-object-store/developers/python/API.html#get_object

Secrets

Required secrets:
  • minio: required values MINIO_ACCESS_KEY, MINIO_SECRET_KEY; optional values MINIO_ENDPOINT, MINIO_REGION.

Input fields

bucket
string
required
MinIO bucket name.
key
string
required
MinIO object key.
cert_check
boolean
Whether to check the server certificate for HTTPS connection.Default: true.
endpoint
string | null
MinIO endpoint URL.Default: null.
secure
boolean
Whether to use HTTPS connection.Default: true.

Get MinIO objects

Action ID: tools.minio.get_objects Download multiple MinIO objects and return their bodies as strings. Reference: https://docs.min.io/community/minio-object-store/developers/python/API.html#get_object

Secrets

Required secrets:
  • minio: required values MINIO_ACCESS_KEY, MINIO_SECRET_KEY; optional values MINIO_ENDPOINT, MINIO_REGION.

Input fields

bucket
string
required
MinIO bucket name.
keys
array[string]
required
MinIO object keys.
cert_check
boolean
Whether to check the server certificate for HTTPS connection.Default: true.
endpoint
string | null
MinIO endpoint URL.Default: null.
secure
boolean
Whether to use HTTPS connection.Default: true.

List MinIO buckets

Action ID: tools.minio.list_buckets List MinIO buckets Reference: https://docs.min.io/community/minio-object-store/developers/python/API.html#list_buckets

Secrets

Required secrets:
  • minio: required values MINIO_ACCESS_KEY, MINIO_SECRET_KEY; optional values MINIO_ENDPOINT, MINIO_REGION.

Input fields

cert_check
boolean
Whether to check the server certificate for HTTPS connection.Default: true.
endpoint
string | null
MinIO endpoint URL.Default: null.
secure
boolean
Whether to use HTTPS connection.Default: true.

List MinIO objects

Action ID: tools.minio.list_objects List objects in a MinIO bucket. Reference: https://docs.min.io/community/minio-object-store/developers/python/API.html#list_objects

Secrets

Required secrets:
  • minio: required values MINIO_ACCESS_KEY, MINIO_SECRET_KEY; optional values MINIO_ENDPOINT, MINIO_REGION.

Input fields

bucket
string
required
MinIO bucket name.
cert_check
boolean
Whether to check the server certificate for HTTPS connection.Default: true.
endpoint
string | null
MinIO endpoint URL.Default: null.
prefix
string | null
MinIO object key prefix.Default: null.
recursive
boolean
List recursively.Default: true.
secure
boolean
Whether to use HTTPS connection.Default: true.

Put MinIO object

Action ID: tools.minio.put_object Put an object to MinIO. Reference: https://docs.min.io/community/minio-object-store/developers/python/API.html#put_object

Secrets

Required secrets:
  • minio: required values MINIO_ACCESS_KEY, MINIO_SECRET_KEY; optional values MINIO_ENDPOINT, MINIO_REGION.

Input fields

bucket
string
required
MinIO bucket name.
file_data
string
required
Base64 encoded content of the file to upload.
key
string
required
MinIO object key.
cert_check
boolean
Whether to check the server certificate for HTTPS connection.Default: true.
endpoint
string | null
MinIO endpoint URL.Default: null.
secure
boolean
Whether to use HTTPS connection.Default: true.