The earlier approach of using a license token for communicating with SUBNET is being replaced with a simpler mechanism of API keys. Unlike the license which is a JWT token, these API keys will be simple UUID tokens, and don't have any embedded information in them. SUBNET would generate the API key on cluster registration, and return in the API response. mc then stores it in the `subnet api_key` config of minio, to be used for subsequent communication with SUBNET. In case the api_key is not available in the config, but the cluster's license is available, it will be used as auth in the subnet API call, and api_key will be set after the call succeeds. This will help in smooth migration from older versions of MinIO.
67 lines
2.6 KiB
AMPL
67 lines
2.6 KiB
AMPL
module github.com/minio/mc
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
github.com/briandowns/spinner v1.16.0
|
|
github.com/cespare/xxhash/v2 v2.1.2 // indirect
|
|
github.com/cheggaaa/pb v1.0.29
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0 // indirect
|
|
github.com/dustin/go-humanize v1.0.0
|
|
github.com/fatih/color v1.13.0
|
|
github.com/go-ole/go-ole v1.2.6 // indirect
|
|
github.com/goccy/go-json v0.7.9 // indirect
|
|
github.com/golang-jwt/jwt v3.2.2+incompatible
|
|
github.com/google/uuid v1.3.0
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
|
github.com/inconshreveable/mousetrap v1.0.0
|
|
github.com/json-iterator/go v1.1.12
|
|
github.com/klauspost/compress v1.13.6
|
|
github.com/klauspost/cpuid/v2 v2.0.9 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/lestrrat-go/jwx v1.2.7 // indirect
|
|
github.com/mattn/go-colorable v0.1.10 // indirect
|
|
github.com/mattn/go-ieproxy v0.0.1
|
|
github.com/mattn/go-isatty v0.0.14
|
|
github.com/mattn/go-runewidth v0.0.13 // indirect
|
|
github.com/minio/cli v1.22.0
|
|
github.com/minio/colorjson v1.0.1
|
|
github.com/minio/filepath v1.0.0
|
|
github.com/minio/madmin-go v1.1.15
|
|
github.com/minio/md5-simd v1.1.2 // indirect
|
|
github.com/minio/minio-go/v7 v7.0.16-0.20211108161804-a7a36ee131df
|
|
github.com/minio/pkg v1.1.3
|
|
github.com/minio/selfupdate v0.3.1
|
|
github.com/minio/sha256-simd v1.0.0
|
|
github.com/mitchellh/go-homedir v1.1.0
|
|
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
|
|
github.com/pkg/profile v1.6.0
|
|
github.com/pkg/xattr v0.4.3
|
|
github.com/posener/complete v1.2.3
|
|
github.com/prometheus/client_golang v1.11.0
|
|
github.com/prometheus/common v0.31.1 // indirect
|
|
github.com/rjeczalik/notify v0.9.2
|
|
github.com/rs/xid v1.3.0
|
|
github.com/secure-io/sio-go v0.3.1
|
|
github.com/shirou/gopsutil/v3 v3.21.8
|
|
github.com/tidwall/gjson v1.10.2
|
|
github.com/tinylib/msgp v1.1.6 // indirect
|
|
go.etcd.io/etcd/client/v3 v3.5.0 // indirect
|
|
go.uber.org/atomic v1.9.0 // indirect
|
|
go.uber.org/multierr v1.7.0 // indirect
|
|
go.uber.org/zap v1.19.1 // indirect
|
|
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
|
|
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f
|
|
golang.org/x/sys v0.0.0-20211015200801-69063c4bb744 // indirect
|
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
|
|
golang.org/x/text v0.3.7
|
|
google.golang.org/genproto v0.0.0-20210928142010-c7af6a1a74c9 // indirect
|
|
google.golang.org/grpc v1.41.0 // indirect
|
|
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b
|
|
gopkg.in/h2non/filetype.v1 v1.0.5
|
|
gopkg.in/ini.v1 v1.63.2 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
maze.io/x/duration v0.0.0-20160924141736-faac084b6075
|
|
)
|