Deprecate updating admin credentials using API calls (#7570)

Root credentials are not allowed to change in all of our
distributed setup deployments, this PR simply removes
that behavior.
This commit is contained in:
Harshavardhana
2019-04-24 12:54:44 -07:00
committed by kannappanr
parent a3ec71bc28
commit ae002aa724
7 changed files with 492 additions and 882 deletions

View File

@@ -74,8 +74,6 @@ func registerAdminRouter(router *mux.Router, enableConfigOps, enableIAMOps bool)
/// Config operations
if enableConfigOps {
// Update credentials
adminV1Router.Methods(http.MethodPut).Path("/config/credential").HandlerFunc(httpTraceHdrs(adminAPI.UpdateAdminCredentialsHandler))
// Get config
adminV1Router.Methods(http.MethodGet).Path("/config").HandlerFunc(httpTraceHdrs(adminAPI.GetConfigHandler))
// Set config