mirror of
https://github.com/minio/minio.git
synced 2025-11-10 22:10:12 -05:00
admin: Move SetCredentials from Service to Generic (#3805)
Setting credentials doesn't belong to service management API anymore.
This commit is contained in:
committed by
Harshavardhana
parent
69777b654e
commit
461b2bbd37
@@ -36,7 +36,7 @@ func main() {
|
||||
log.Fatalln(err)
|
||||
}
|
||||
|
||||
err = madmClnt.ServiceSetCredentials("YOUR-NEW-ACCESSKEY", "YOUR-NEW-SECRETKEY")
|
||||
err = madmClnt.SetCredentials("YOUR-NEW-ACCESSKEY", "YOUR-NEW-SECRETKEY")
|
||||
if err != nil {
|
||||
log.Fatalln(err)
|
||||
}
|
||||
Reference in New Issue
Block a user