Hugo 7d2654e707 feat(storage): Improve error messages
Current `errorToStatus` is not displaying the underlying error if the
status code is 400. Additionally, we are sending the error into this
function twice: Once in the error message and again in the error itself.

This commit changes the way `errorToStatus` works by sending a message
indicating where the error occured and then the actual error as a
different argument. Additionally, it changes `errorToStatus` to always
print the input message and the error regardless of error type.
2024-10-01 15:13:57 +01:00
2024-02-28 15:12:43 +00:00
2024-02-22 10:24:00 +00:00
2024-02-28 15:12:43 +00:00

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.

S
Description
Community fork of hashicorp/boundary-plugin-minio (MPL-2.0) for Threshold. Not affiliated with HashiCorp or IBM.
Readme MPL-2.0
396 KiB
0 Stars 1 Watchers 0 Forks
Languages
Go 98.3%
Shell 1.7%