CreateBucket
Create a MinIO bucket.
type: "io.kestra.plugin.minio.CreateBucket"Examples
Create a new bucket with some options
id: minio_create_bucket
namespace: company.team
tasks:
  - id: create_bucket
    type: io.kestra.plugin.minio.CreateBucket
    accessKeyId: "<access-key>"
    secretKeyId: "<secret-key>"
    region: "eu-central-1"
    bucket: "my-bucket"
Create a new bucket on an S3-compatible storage — here, Spaces Object Storage from Digital Ocean.
id: s3_compatible_bucket
namespace: company.team
tasks:
  - id: create_bucket
    type: io.kestra.plugin.minio.CreateBucket
    accessKeyId: "<access_key>"
    secretKeyId: "<secret_key>"
    endpoint: https://<region>.digitaloceanspaces.com  #example region: nyc3, tor1
    bucket: "kestra-test-bucket"
Properties
accessKeyId string
Access Key Id for authentication.
bucket string
The bucket name.
caPem string
CA PEM certificate content
CA certificate as text, used to verify SSL/TLS connections to custom MinIO endpoints.
clientPem string
Client PEM certificate content
PEM client certificate as text, used to authenticate the connection to MinIO (mTLS).
endpoint string
URL to the MinIO endpoint.
objectLockEnabledForBucket booleanstring
Specifies whether you want Object Lock to be enabled for the new bucket.
region string
MinIO region with which the SDK should communicate.
secretKeyId string
Secret Key Id for authentication.
ssl Non-dynamicSslOptions
SSL/TLS configuration options
Outputs
bucket string
Definitions
io.kestra.core.http.client.configurations.SslOptions
insecureTrustAllCertificates booleanstring
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.