mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
Generate and use access/secret keys properly (#3498)
This commit is contained in:
@@ -62,8 +62,8 @@ func makeS3Peers(eps []*url.URL) s3Peers {
|
||||
// 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, s3Path),
|
||||
|
||||
Reference in New Issue
Block a user