Delete a list of keys on a MinIO bucket.
type: "io.kestra.plugin.minio.deletelist"id: minio_delete_objects
namespace: company.team
tasks:
- id: delete_objects
type: io.kestra.plugin.minio.DeleteList
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
region: "eu-central-1"
bucket: "my-bucket"
prefix: "sub-dir"
Delete files from an S3-compatible storage — here, Spaces Object Storage from Digital Ocean.
id: s3_compatible_delete_objects
namespace: company.team
tasks:
- id: delete_objects
type: io.kestra.plugin.minio.DeleteList
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
endpoint: https://<region>.digitaloceanspaces.com
bucket: "kestra-test-bucket"
prefix: "sub-dir"
YESAccess Key Id for authentication.
YESThe bucket name.
YESCA PEM certificate content
CA certificate as text, used to verify SSL/TLS connections to custom MinIO endpoints.
YESClient PEM certificate content
PEM client certificate as text, used to authenticate the connection to MinIO (mTLS).
NO >= 2Number of concurrent parallels deletion
YESA delimiter is a character you use to group keys.
YESURL to the MinIO endpoint.
NOfalseraise an error if the file is not found
YESBOTHFILESDIRECTORYBOTHThe type of objects to filter: files, directory, or both.
YESMarker is where you want to start listing from.
Start listing after this specified key. Marker can be any key in the bucket.
NO1000Sets the maximum number of keys returned in the response.
By default, the action returns up to 1,000 key names. The response might contain fewer keys but will never contain more.
YESLimits the response to keys that begin with the specified prefix.
YESA regexp to filter on full key.
ex:
regExp: .* to match all files
regExp: .*2020-01-0.\\.csv to match files between 01 and 09 of january ending with .csv
YESMinIO region with which the SDK should communicate.
YESSecret Key Id for authentication.
NOSSL/TLS configuration options
0The count of blobs deleted
0The size of all blobs deleted
NOWhether to disable checking of the remote SSL certificate.
Only applies if no trust store is configured. Note: This makes the SSL connection insecure and should only be used for testing. If you are using a self-signed certificate, set up a trust store instead.