> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracecat.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MinIO

> Reference for the Tracecat MinIO integration: registered actions, required secrets, expected inputs, and example workflow usage.

## Call MinIO method

Action ID: `tools.minio.call_method`

Instantiate a MinIO client and call a MinIO method.

Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/](https://docs.min.io/enterprise/aistor-object-store/developers/)

### Secrets

Required secrets:

* `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`.

### Input fields

<ParamField path="method_name" type="string" required>
  MinIO method name.
</ParamField>

<ParamField path="params" type="object" required>
  MinIO method parameters.
</ParamField>

<ParamField path="cert_check" type="boolean">
  Whether to check the server certificate for HTTPS connection.

  Default: `true`.
</ParamField>

<ParamField path="endpoint" type="string | null">
  MinIO endpoint URL.

  Default: `null`.
</ParamField>

<ParamField path="secure" type="boolean">
  Whether to use HTTPS connection.

  Default: `true`.
</ParamField>

## Copy MinIO objects

Action ID: `tools.minio.copy_objects`

Copy MinIO objects from one bucket to another.

Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/#copy\_object](https://docs.min.io/enterprise/aistor-object-store/developers/#copy_object)

### Secrets

Required secrets:

* `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`.

### Input fields

<ParamField path="dst_bucket" type="string" required>
  Destination MinIO bucket name.
</ParamField>

<ParamField path="prefix" type="string" required>
  Prefix to filter objects.
</ParamField>

<ParamField path="src_bucket" type="string" required>
  Source MinIO bucket name.
</ParamField>

<ParamField path="cert_check" type="boolean">
  Whether to check the server certificate for HTTPS connection.

  Default: `true`.
</ParamField>

<ParamField path="endpoint" type="string | null">
  MinIO endpoint URL.

  Default: `null`.
</ParamField>

<ParamField path="secure" type="boolean">
  Whether to use HTTPS connection.

  Default: `true`.
</ParamField>

## Delete MinIO object

Action ID: `tools.minio.delete_object`

Delete an object from MinIO.

Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/#remove\_object](https://docs.min.io/enterprise/aistor-object-store/developers/#remove_object)

### Secrets

Required secrets:

* `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`.

### Input fields

<ParamField path="bucket" type="string" required>
  MinIO bucket name.
</ParamField>

<ParamField path="key" type="string" required>
  MinIO object key.
</ParamField>

<ParamField path="cert_check" type="boolean">
  Whether to check the server certificate for HTTPS connection.

  Default: `true`.
</ParamField>

<ParamField path="endpoint" type="string | null">
  MinIO endpoint URL.

  Default: `null`.
</ParamField>

<ParamField path="secure" type="boolean">
  Whether to use HTTPS connection.

  Default: `true`.
</ParamField>

## 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/enterprise/aistor-object-store/developers/#get\_object](https://docs.min.io/enterprise/aistor-object-store/developers/#get_object)

### Secrets

Required secrets:

* `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`.

### Input fields

<ParamField path="bucket" type="string" required>
  MinIO bucket name.
</ParamField>

<ParamField path="key" type="string" required>
  MinIO object key.
</ParamField>

<ParamField path="cert_check" type="boolean">
  Whether to check the server certificate for HTTPS connection.

  Default: `true`.
</ParamField>

<ParamField path="endpoint" type="string | null">
  MinIO endpoint URL.

  Default: `null`.
</ParamField>

<ParamField path="secure" type="boolean">
  Whether to use HTTPS connection.

  Default: `true`.
</ParamField>

## Get MinIO objects

Action ID: `tools.minio.get_objects`

Download multiple MinIO objects and return their bodies as strings.

Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/#get\_object](https://docs.min.io/enterprise/aistor-object-store/developers/#get_object)

### Secrets

Required secrets:

* `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`.

### Input fields

<ParamField path="bucket" type="string" required>
  MinIO bucket name.
</ParamField>

<ParamField path="keys" type="array[string]" required>
  MinIO object keys.
</ParamField>

<ParamField path="cert_check" type="boolean">
  Whether to check the server certificate for HTTPS connection.

  Default: `true`.
</ParamField>

<ParamField path="endpoint" type="string | null">
  MinIO endpoint URL.

  Default: `null`.
</ParamField>

<ParamField path="secure" type="boolean">
  Whether to use HTTPS connection.

  Default: `true`.
</ParamField>

## List MinIO buckets

Action ID: `tools.minio.list_buckets`

List MinIO buckets

Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/#list\_buckets](https://docs.min.io/enterprise/aistor-object-store/developers/#list_buckets)

### Secrets

Required secrets:

* `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`.

### Input fields

<ParamField path="cert_check" type="boolean">
  Whether to check the server certificate for HTTPS connection.

  Default: `true`.
</ParamField>

<ParamField path="endpoint" type="string | null">
  MinIO endpoint URL.

  Default: `null`.
</ParamField>

<ParamField path="secure" type="boolean">
  Whether to use HTTPS connection.

  Default: `true`.
</ParamField>

## List MinIO objects

Action ID: `tools.minio.list_objects`

List objects in a MinIO bucket.

Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/#list\_objects](https://docs.min.io/enterprise/aistor-object-store/developers/#list_objects)

### Secrets

Required secrets:

* `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`.

### Input fields

<ParamField path="bucket" type="string" required>
  MinIO bucket name.
</ParamField>

<ParamField path="cert_check" type="boolean">
  Whether to check the server certificate for HTTPS connection.

  Default: `true`.
</ParamField>

<ParamField path="endpoint" type="string | null">
  MinIO endpoint URL.

  Default: `null`.
</ParamField>

<ParamField path="prefix" type="string | null">
  MinIO object key prefix.

  Default: `null`.
</ParamField>

<ParamField path="recursive" type="boolean">
  List recursively.

  Default: `true`.
</ParamField>

<ParamField path="secure" type="boolean">
  Whether to use HTTPS connection.

  Default: `true`.
</ParamField>

## Put MinIO object

Action ID: `tools.minio.put_object`

Put an object to MinIO.

Reference: [https://docs.min.io/enterprise/aistor-object-store/developers/#put\_object](https://docs.min.io/enterprise/aistor-object-store/developers/#put_object)

### Secrets

Required secrets:

* `minio`: required values `MINIO_ACCESS_KEY`, `MINIO_SECRET_KEY`; optional values `MINIO_ENDPOINT`, `MINIO_REGION`.

### Input fields

<ParamField path="bucket" type="string" required>
  MinIO bucket name.
</ParamField>

<ParamField path="file_data" type="string" required>
  Base64 encoded content of the file to upload.
</ParamField>

<ParamField path="key" type="string" required>
  MinIO object key.
</ParamField>

<ParamField path="cert_check" type="boolean">
  Whether to check the server certificate for HTTPS connection.

  Default: `true`.
</ParamField>

<ParamField path="endpoint" type="string | null">
  MinIO endpoint URL.

  Default: `null`.
</ParamField>

<ParamField path="secure" type="boolean">
  Whether to use HTTPS connection.

  Default: `true`.
</ParamField>
