- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for permitRootAccess (0.08 sec)
-
cmd/jwt.go
if cred.IsTemp() && cred.IsExpired() { return nil, errInvalidAccessKeyID } return []byte(cred.SecretKey), nil } // this means claims.AccessKey == rootAccessKey if !globalAPIConfig.permitRootAccess() { // if root access is disabled, fail this request. return nil, errAccessKeyDisabled } return []byte(globalActiveCred.SecretKey), nil }); err != nil { return claims, nil, false, errAuthentication
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 22 07:04:48 UTC 2024 - 4.5K bytes - Viewed (0) -
cmd/server-startup-msg.go
// Colorize the message and print. logger.Startup(color.Blue("API: ") + color.Bold(fmt.Sprintf("%s ", apiEndpointStr))) if color.IsTerminal() && (!globalServerCtxt.Anonymous && !globalServerCtxt.JSON && globalAPIConfig.permitRootAccess()) { logger.Startup(color.Blue(" RootUser: ") + color.Bold("%s ", cred.AccessKey)) logger.Startup(color.Blue(" RootPass: ") + color.Bold("%s \n", cred.SecretKey)) if region != "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 23 14:11:35 UTC 2024 - 6.2K bytes - Viewed (0) -
cmd/signature-v4-utils.go
} cred.Claims = claims owner := cred.AccessKey == globalActiveCred.AccessKey || (cred.ParentUser == globalActiveCred.AccessKey && cred.AccessKey != siteReplicatorSvcAcc) if owner && !globalAPIConfig.permitRootAccess() { // We disable root access and its service accounts if asked for. return cred, owner, ErrAccessKeyDisabled } if _, ok := claims[policy.SessionPolicyName]; ok { owner = false }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 9.1K bytes - Viewed (0) -
cmd/handler-api.go
defer t.mu.RUnlock() return t.enableODirect } func (t *apiConfig) shouldGzipObjects() bool { t.mu.RLock() defer t.mu.RUnlock() return t.gzipObjects } func (t *apiConfig) permitRootAccess() bool { t.mu.RLock() defer t.mu.RUnlock() return t.rootAccess } func (t *apiConfig) getListQuorum() string { t.mu.RLock() defer t.mu.RUnlock() if t.listQuorum == "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 17:07:10 UTC 2024 - 10.4K bytes - Viewed (0) -
cmd/perf-tests.go
UserMetadata: userMetadata, DisableContentSha256: !opts.enableSha256, DisableMultipart: !opts.enableMultipart, } clnt := globalMinioClient if !globalAPIConfig.permitRootAccess() { region := globalSite.Region() if region == "" { region = "us-east-1" } clnt, err = minio.New(globalLocalNodeName, &minio.Options{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
cmd/config-current.go
// a KMS is configured, no manual credentials have been specified and if root // access is disabled. func autoGenerateRootCredentials() { if GlobalKMS == nil { return } if globalAPIConfig.permitRootAccess() || !globalActiveCred.Equal(auth.DefaultCredentials) { return } aKey, err := GlobalKMS.MAC(GlobalContext, &kms.MACRequest{Message: []byte("root access key")})
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 18:23:41 UTC 2024 - 30.1K bytes - Viewed (0) -
cmd/admin-handlers.go
defer cancel() objectAPI, creds := validateAdminReq(ctx, w, r, policy.HealthInfoAdminAction) if objectAPI == nil { return } if !globalAPIConfig.permitRootAccess() { rd, wr := isAllowedRWAccess(r, creds, globalObjectPerfBucket) if !rd || !wr { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, AdminError{ Code: "XMinioSpeedtestInsufficientPermissions",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0)