This PR adds the following features:
- Allow user to provide its own keypair certificates for enable TLS in
MinIO
- Allow user to configure data encryption at rest in MinIO with KES
- Removes JWT schema for login and instead Console authentication will use
encrypted session tokens
Enable TLS between client and MinIO with user provided certificates
Instead of using AutoCert feature now the user can provide `cert` and
`key` via `tls` object, values must be valid `x509.Certificate`
formatted files encoded in `base64`
Enable encryption at rest configuring KES
User can deploy KES via Console/Operator by defining the encryption
object, AutoCert must be enabled or custom certificates for KES must be
provided, KES support 3 KMS backends: `Vault`, `AWS KMS` and `Gemalto`,
previous configuration of the KMS is necessary.
eg of body request for create-tenant
```
{
"name": "honeywell",
"access_key": "minio",
"secret_key": "minio123",
"enable_mcs": false,
"enable_ssl": false,
"service_name": "honeywell",
"zones": [
{
"name": "honeywell-zone-1",
"servers": 1,
"volumes_per_server": 4,
"volume_configuration": {
"size": 256000000,
"storage_class": "vsan-default-storage-policy"
}
}
],
"namespace": "default",
"tls": {
"tls.crt": "",
"tls.key": ""
},
"encryption": {
"server": {
"tls.crt": "",
"tls.key": ""
},
"client": {
"tls.crt": "",
"tls.key": ""
},
"vault": {
"endpoint": "http://vault:8200",
"prefix": "",
"approle": {
"id": "",
"secret": ""
}
}
}
}
```
34 lines
1.2 KiB
Modula-2
34 lines
1.2 KiB
Modula-2
module github.com/minio/console
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
github.com/coreos/go-oidc v2.2.1+incompatible
|
|
github.com/elazarl/go-bindata-assetfs v1.0.0
|
|
github.com/go-openapi/errors v0.19.6
|
|
github.com/go-openapi/loads v0.19.5
|
|
github.com/go-openapi/runtime v0.19.19
|
|
github.com/go-openapi/spec v0.19.8
|
|
github.com/go-openapi/strfmt v0.19.5
|
|
github.com/go-openapi/swag v0.19.9
|
|
github.com/go-openapi/validate v0.19.10
|
|
github.com/gorilla/websocket v1.4.2
|
|
github.com/jessevdk/go-flags v1.4.0
|
|
github.com/minio/cli v1.22.0
|
|
github.com/minio/kes v0.10.1
|
|
github.com/minio/mc v0.0.0-20200725183142-90d22b271f60
|
|
github.com/minio/minio v0.0.0-20200725154241-abbf6ce6ccf8
|
|
github.com/minio/minio-go/v7 v7.0.2-0.20200722162308-e0105ca08252
|
|
github.com/minio/operator v0.0.0-20200730044813-c2895a5065a1
|
|
github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35 // indirect
|
|
github.com/stretchr/testify v1.6.1
|
|
github.com/unrolled/secure v1.0.7
|
|
golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899
|
|
golang.org/x/net v0.0.0-20200707034311-ab3426394381
|
|
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
|
|
gopkg.in/yaml.v2 v2.3.0
|
|
k8s.io/api v0.18.0
|
|
k8s.io/apimachinery v0.18.0
|
|
k8s.io/client-go v0.18.0
|
|
)
|