Some 3rd party services the MinIO SDK can connect with do not return a checksum whenever a file is uploaded. Before this change, this would lead to an error, rendering it impossible to operate with those 3rd party services. With this change, we'll continue to verify checksums if they come through, however we won't error out if they don't and the PutObject call is successful. Note: There are no new tests with this change as this behaviour is not unit-testeable at the moment. I suggest we could have end-to-end tests for this.
MinIO Plugin for HashiCorp Boundary
This repo contains the MinIO plugin for HashiCorp Boundary.
Storage Bucket
This plugin supports storing, fetching and deleting objects from a MinIO instance.
Files created with this plugin are stored as objects defined by the bucket name and bucket prefix values configured in the storage bucket resource. These storage bucket resources can in turn be associated to targets within Boundary.
During creation, update or deletion of a storage bucket handled by this plugin, configuration is performed via attribute/secret key-value pairs. The values received by this plugin are the attributes/secrets set on on a storage bucket in Boundary.
The plugin fetches file metadata through the StatObject call.
The plugin fetches files through the GetObject call.
The plugin stores files through the PutObject call.
The plugin deletes files through the RemoveObject or RemoveObjectsWithResult calls.
For more details on using this plugin to store Boundary objects, see our getting started with MinIO storage buckets guide.