Compare commits

...
Author SHA1 Message Date
shadowdaoandClaude Sonnet 5.5 6628c9dbeb Rename module and SDK import paths for Threshold
Fork of hashicorp/boundary-plugin-minio (MPL-2.0). Module path and Boundary SDK
imports now point at repo.anhonesthost.net/CyberCoveLLC. Adds NOTICE and an
About this fork section to the README.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 10:28:07 -07:00
Michael Li 326c0d977f chore: Use docker mirror for minio image (#58) 2026-10-01 14:09:11 -04:00
Irena Rindos b8e764a368 update klaus dep (#57) 2026-10-01 12:02:26 -04:00
16 changed files with 51 additions and 32 deletions

No files matched your search

+2
View File
@@ -20,4 +20,6 @@ jobs:
go-version-file: 'go.mod'
cache: true
- name: Run Tests
env:
DOCKER_MIRROR: docker.mirror.hashicorp.services
run: go test -v ./...
+12
View File
@@ -6,3 +6,15 @@ The Boundary MinIO Plugin contains subcomponents of the Minio madmin-go library
licensed under the Apache License 2.0.
See `madmin/LICENSE` for the full license text.
---
This repository is a community fork of hashicorp/boundary-plugin-minio
(https://github.com/hashicorp/boundary-plugin-minio), maintained for Threshold.
The original work is licensed under the Mozilla Public License 2.0 (see LICENSE).
Original copyright IBM Corp. / HashiCorp, Inc. is retained in all source file
headers and in LICENSE. Modifications are limited to the Go module path and the
import paths of the Boundary SDK/API packages.
This fork is not affiliated with, endorsed by, or supported by HashiCorp or IBM.
+9
View File
@@ -1,3 +1,12 @@
## About this fork
This is a community fork of
[hashicorp/boundary-plugin-minio](https://github.com/hashicorp/boundary-plugin-minio)
for use with Threshold. It is licensed under the MPL-2.0 (see `LICENSE`), and
the original copyright notices are retained. It is not affiliated with,
endorsed by, or supported by HashiCorp or IBM. Changes from upstream are limited
to the Go module path and SDK import paths; see `NOTICE`.
# MinIO Plugin for HashiCorp Boundary
This repo contains the [MinIO](https://min.io) plugin for [HashiCorp
+4 -4
View File
@@ -1,12 +1,12 @@
module github.com/hashicorp/boundary-plugin-minio
module repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio
go 1.25.7
require (
github.com/google/go-cmp v0.7.0
github.com/google/uuid v1.6.0
github.com/hashicorp/boundary-plugin-minio/madmin v0.1.0
github.com/hashicorp/boundary/sdk v0.0.59
repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/madmin v0.1.0
repo.anhonesthost.net/CyberCoveLLC/threshold/sdk v0.1.0
github.com/hashicorp/go-multierror v1.1.1
github.com/hashicorp/go-secure-stdlib/parseutil v0.2.0
github.com/minio/minio-go/v7 v7.2.0
@@ -44,7 +44,7 @@ require (
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
github.com/hashicorp/go-sockaddr v1.0.7 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/klauspost/compress v1.18.6 // indirect
github.com/klauspost/compress v1.18.7 // indirect
github.com/klauspost/cpuid/v2 v2.2.11 // indirect
github.com/klauspost/crc32 v1.3.0 // indirect
github.com/minio/crc64nvme v1.1.1 // indirect
+2 -6
View File
@@ -66,10 +66,6 @@ github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaU
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/hashicorp/boundary-plugin-minio/madmin v0.1.0 h1:VH/D4t0L3wmVPn7a1DDqF4nSOTGuWktXLnDny98y63Y=
github.com/hashicorp/boundary-plugin-minio/madmin v0.1.0/go.mod h1:y0Q45edl67+Q8CVtnMpDeneusJv8ypMXWrKDyTA82qI=
github.com/hashicorp/boundary/sdk v0.0.59 h1:XNniO0rwgihLdF1+4qDHKN3gdta3AU1JteZResCJ8Oc=
github.com/hashicorp/boundary/sdk v0.0.59/go.mod h1:VYwVGAEaHTzihRXpzKZL6EhWBhll59Iul3PGLVL63ao=
github.com/hashicorp/cli v1.1.7 h1:/fZJ+hNdwfTSfsxMBa9WWMlfjUZbX8/LnUxgAd7lCVU=
github.com/hashicorp/cli v1.1.7/go.mod h1:e6Mfpga9OCT1vqzFuoGZiiF/KaG9CbUfO5s3ghU3YgU=
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
@@ -119,8 +115,8 @@ github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk=
github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg=
github.com/jefferai/isbadcipher v0.0.0-20190226160619-51d2077c035f h1:E87tDTVS5W65euzixn7clSzK66puSt1H4I5SC0EmHH4=
github.com/jefferai/isbadcipher v0.0.0-20190226160619-51d2077c035f/go.mod h1:3J2qVK16Lq8V+wfiL2lPeDZ7UWMxk5LemerHa1p6N00=
github.com/klauspost/compress v1.18.6 h1:2jupLlAwFm95+YDR+NwD2MEfFO9d4z4Prjl1XXDjuao=
github.com/klauspost/compress v1.18.6/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ=
github.com/klauspost/compress v1.18.7 h1:aUyZsS4kH3QTKurYhAOwAHxllVPnOthb3vPfnF1Ehjw=
github.com/klauspost/compress v1.18.7/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ=
github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
github.com/klauspost/cpuid/v2 v2.2.11 h1:0OwqZRYI2rFrjS4kvkDnqJkKHdHaRnCm68/DY4OxRzU=
github.com/klauspost/cpuid/v2 v2.2.11/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0=
+1 -1
View File
@@ -15,7 +15,7 @@ import (
"net/http"
"net/url"
"github.com/hashicorp/boundary-plugin-minio/madmin"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/madmin"
"github.com/minio/minio-go/v7/pkg/signer"
)
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"context"
"testing"
"github.com/hashicorp/boundary-plugin-minio/internal/client"
internaltest "github.com/hashicorp/boundary-plugin-minio/internal/testing"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client"
internaltest "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"testing"
"time"
"github.com/hashicorp/boundary-plugin-minio/internal/client"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client"
"github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials"
"github.com/ory/dockertest/v3"
+1 -1
View File
@@ -1,4 +1,4 @@
module github.com/hashicorp/boundary-plugin-minio/madmin
module repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/madmin
go 1.25.0
+2 -2
View File
@@ -4,8 +4,8 @@
package plugin
import (
"github.com/hashicorp/boundary-plugin-minio/plugin/service/storage"
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/plugin/service/storage"
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
)
var (
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"strings"
"time"
"github.com/hashicorp/boundary-plugin-minio/internal/errors"
"github.com/hashicorp/boundary-plugin-minio/internal/values"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/errors"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/values"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"google.golang.org/protobuf/types/known/structpb"
+3 -3
View File
@@ -19,9 +19,9 @@ import (
"time"
"github.com/google/uuid"
"github.com/hashicorp/boundary-plugin-minio/internal/client"
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/storagebuckets"
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client"
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/storagebuckets"
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
"github.com/hashicorp/go-multierror"
"github.com/hashicorp/go-secure-stdlib/parseutil"
"github.com/minio/minio-go/v7"
+6 -6
View File
@@ -20,12 +20,12 @@ import (
"github.com/google/go-cmp/cmp"
"github.com/google/uuid"
"github.com/hashicorp/boundary-plugin-minio/internal/client"
internaltest "github.com/hashicorp/boundary-plugin-minio/internal/testing"
"github.com/hashicorp/boundary-plugin-minio/internal/values"
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/storagebuckets"
"github.com/hashicorp/boundary/sdk/pbs/plugin"
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client"
internaltest "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/testing"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/values"
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/storagebuckets"
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
"github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials"
"github.com/stretchr/testify/assert"
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"sync"
"time"
"github.com/hashicorp/boundary-plugin-minio/internal/client"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client"
)
const (
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"encoding/json"
"testing"
"github.com/hashicorp/boundary-plugin-minio/internal/client"
internaltest "github.com/hashicorp/boundary-plugin-minio/internal/testing"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client"
internaltest "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/testing"
"github.com/minio/minio-go/v7"
"github.com/stretchr/testify/require"
)
+1 -1
View File
@@ -82,7 +82,7 @@ docker run -dt --rm \
-e "MINIO_CONSOLE_ADDRESS=:9090" \
-e 'MINIO_VOLUMES=/mnt/data' \
--name "$container_name" \
minio/minio server
"${DOCKER_MIRROR:+$DOCKER_MIRROR/}minio/minio" server
echo -e 'Done!'
echo 'Waiting for MinIO instance to be healthy...'