mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
Generate and use access/secret keys properly (#3498)
This commit is contained in:
@@ -109,8 +109,8 @@ func makeAdminPeers(eps []*url.URL) adminPeers {
|
||||
// Check if the remote host has been added already
|
||||
if !seenAddr[ep.Host] {
|
||||
cfg := authConfig{
|
||||
accessKey: serverConfig.GetCredential().AccessKeyID,
|
||||
secretKey: serverConfig.GetCredential().SecretAccessKey,
|
||||
accessKey: serverConfig.GetCredential().AccessKey,
|
||||
secretKey: serverConfig.GetCredential().SecretKey,
|
||||
address: ep.Host,
|
||||
secureConn: isSSL(),
|
||||
path: path.Join(reservedBucket, servicePath),
|
||||
|
||||
Reference in New Issue
Block a user