Delete
yaml
type: "io.kestra.plugin.minio.Delete"
Delete a file from a bucket.
Examples
yaml
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.
yaml
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
accessKeyId
- Type: string
- Dynamic: ✔️
- Required: ❌
Access Key Id for authentication.
bucket
- Type: string
- Dynamic: ✔️
- Required: ❌
The bucket name.
bypassGovernanceRetention
- Type: boolean
- Dynamic: ❌
- Required: ❌
Indicates whether Object Lock should bypass Governance-mode restrictions to process this operation.
endpoint
- Type: string
- Dynamic: ✔️
- Required: ❌
URL to the MinIO endpoint.
key
- Type: string
- Dynamic: ✔️
- Required: ❌
The key to delete.
region
- Type: string
- Dynamic: ✔️
- Required: ❌
MinIO region with which the SDK should communicate.
secretKeyId
- Type: string
- Dynamic: ✔️
- Required: ❌
Secret Key Id for authentication.
Outputs
bucket
- Type: string
- Required: ❌
key
- Type: string
- Required: ❌
Definitions
Was this page helpful?