
Delete
Delete a file from a MinIO bucket.
type: "io.kestra.plugin.minio.Delete"Examples
id: minio_delete
namespace: company.team
tasks:
- id: delete
type: io.kestra.plugin.minio.Delete
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
region: "eu-central-1"
bucket: "my-bucket"
key: "path/to/file"
Delete file from an S3-compatible storage — here, Spaces Object Storage from Digital Ocean.
id: s3_compatible_delete
namespace: company.team
tasks:
- id: delete
type: io.kestra.plugin.minio.Delete
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
endpoint: https://<region>.digitaloceanspaces.com
bucket: "kestra-test-bucket"
key: "path/to/file"
Properties
accessKeyIdstring
Access Key Id for authentication.
bucketstring
The bucket name.
bypassGovernanceRetentionbooleanstring
Indicates whether Object Lock should bypass Governance-mode restrictions to process this operation.
caPemstring
CA PEM certificate content
CA certificate as text, used to verify SSL/TLS connections to custom MinIO endpoints.
clientPemstring
Client PEM certificate content
PEM client certificate as text, used to authenticate the connection to MinIO (mTLS).
endpointstring
URL to the MinIO endpoint.
keystring
The key to delete.
regionstring
MinIO region with which the SDK should communicate.
secretKeyIdstring
Secret Key Id for authentication.
sslNon-dynamic
SSL/TLS configuration options
io.kestra.core.http.client.configurations.SslOptions
Whether 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.