daniandElim Tsiagbey 589e435ff1 Worker storage bucket credential state (#18)
* feat: parse minio errors and plugin permission

- Evaluate minio errors. If the error is a permission related error, convert the error to a `Permission` proto and attach it to the gRPC status
- Update `dryRun` method to join all errors before returning response. This ensures all the permissions are validated before returning

* refactor errorToStatus to return storage states

* update oncreate and validate errorcodes on failure

* update go.mod for new sdk version

* update tests to parse state instead of permissions

---------

Co-authored-by: Elim Tsiagbey <elim.tsiagbey@hashicorp.com>
2024-07-17 15:37:45 -04: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%