--- title: "Define Bucket Class" slug: "define-a-bucket-class-2-4" updated: 2026-11-04T20:00:17Z published: 2026-11-04T20:00:17Z canonical: "docs.vastdata.com/define-a-bucket-class-2-4" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # Define Bucket Class A bucket class (`BucketClass`) acts as a container for various parameters and attributes that VAST COSI Driver uses when creating buckets. You define a bucket class in the VAST COSI Driver [chart configuration file](/develop/docs/create-a-helm-chart-configuration-file-for-vast-cosi-driver-2-4). A minimal bucket class would specify a virtual IP pool, a storage path, and a view policy, for example: ```plaintext endpoint: secretName: <...> bucketClasses:  vastdata-bucket:    vipPool: cosi_vippool    storagePath: /buckets    viewPolicy: my_s3_policy <...> ``` Optionally, you can specify parameters that allow you to: - Determine whether to keep or delete the bucket and the associated VMS user when the bucket object is deleted: ```plaintext deletionPolicy: "Delete|Retain" ``` - For an SSL-protected VAST cluster, enable use of HTTPS when creating the bucket endpoint: ```plaintext scheme: "http|https" ``` - Set up features and capabilities that can be configured for the bucket using the VAST REST API's `/api/v1/views/` endpoint of your VAST cluster. For more information about options that can be specified for a bucket class, see [Bucket Class Option Reference](/develop/docs/bucket-class-option-reference-2-4).