code: func CredentialsHandler(credentialsManager credentials.Manager, auditLogger audit.AuditLogger) func(http.ResponseWriter, *http.Request) {
  	return func(w http.ResponseWriter, r *http.Request) {
  		credentialsID := getCredentialsID(r)
  		errPrefix := fmt.Sprintf("CredentialsV%dRequest: ", apiVersion)
  		v1.CredentialsHandlerImpl(w, r, auditLogger, credentialsManager, credentialsID, errPrefix)
  	}
  }
docs: // CredentialsHandler creates response for the 'v2/credentials' API.