Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 85 for accessKey (0.16 sec)

  1. cmd/signature-v4.go

    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	r := &http.Request{Header: formValues}
    	cred, _, s3Err := checkKeyValid(r, credHeader.accessKey)
    	if s3Err != ErrNone {
    		return cred, s3Err
    	}
    
    	// Get signing key.
    	signingKey := getSigningKey(cred.SecretKey, credHeader.scope.date, credHeader.scope.region, serviceS3)
    
    	// Get signature.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. cmd/server-startup-msg.go

    	if color.IsTerminal() && (!globalServerCtxt.Anonymous && !globalServerCtxt.JSON && globalAPIConfig.permitRootAccess()) {
    		logger.Info(color.Blue("   RootUser: ") + color.Bold("%s ", cred.AccessKey))
    		logger.Info(color.Blue("   RootPass: ") + color.Bold("%s \n", cred.SecretKey))
    		if region != "" {
    			logger.Info(color.Blue("   Region: ") + color.Bold("%s", fmt.Sprintf(getFormatStr(len(region), 2), region)))
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  3. internal/logger/audit.go

    			headerBytes = int64(tc.ResponseRecorder.HeaderSize())
    			timeToResponse = time.Now().UTC().Sub(tc.ResponseRecorder.StartTime)
    			timeToFirstByte = tc.ResponseRecorder.TimeToFirstByte
    		}
    
    		entry.AccessKey = reqInfo.Cred.AccessKey
    		entry.ParentUser = reqInfo.Cred.ParentUser
    
    		entry.API.Name = reqInfo.API
    		entry.API.Bucket = reqInfo.BucketName
    		entry.API.Object = reqInfo.ObjectName
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. cmd/metrics.go

    			return
    		}
    
    		cred := auth.Credentials{
    			AccessKey: claims.AccessKey,
    			Claims:    claims.Map(),
    			Groups:    groups,
    		}
    
    		// For authenticated users apply IAM policy.
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PrometheusAdminAction,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  5. cmd/notification.go

    func (sys *NotificationSys) DeleteUser(accessKey string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    		client := client
    		ng.Go(GlobalContext, func() error {
    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.DeleteUser(accessKey)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  6. cmd/bucket-policy.go

    		m["DurationSeconds"] = []string{d}
    	}
    	return m
    }
    
    func getConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string {
    	currTime := UTCNow()
    
    	var (
    		username = cred.AccessKey
    		claims   = cred.Claims
    		groups   = cred.Groups
    	)
    
    	if cred.IsTemp() || cred.IsServiceAccount() {
    		// For derived credentials, check the parent user's permissions.
    		username = cred.ParentUser
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PutObjectFanOutAction,
    			ConditionValues: getConditionValues(r, "", cred),
    			BucketName:      bucket,
    			ObjectName:      object,
    			IsOwner:         globalActiveCred.AccessKey == cred.AccessKey,
    			Claims:          cred.Claims,
    		}) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  8. docs/sts/assume-role.go

    		flag.PrintDefaults()
    		return
    	}
    
    	// The credentials package in minio-go provides an interface to call the
    	// STS API.
    
    	// Initialize credential options
    	var stsOpts cr.STSAssumeRoleOptions
    	stsOpts.AccessKey = minioUsername
    	stsOpts.SecretKey = minioPassword
    
    	if sessionPolicyFile != "" {
    		var policy string
    		if f, err := os.Open(sessionPolicyFile); err != nil {
    			log.Fatalf("Unable to open session policy file: %v", err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 16:09:55 GMT 2024
    - 4K bytes
    - Viewed (1)
  9. cmd/sftp-server.go

    					}, nil
    				}
    				if subtle.ConstantTimeCompare([]byte(sa.Credentials.SecretKey), pass) == 1 {
    					return &ssh.Permissions{
    						CriticalOptions: map[string]string{
    							"accessKey": c.User(),
    						},
    						Extensions: make(map[string]string),
    					}, nil
    				}
    				return nil, errAuthentication
    			}
    
    			ui, ok := globalIAMSys.GetUser(context.Background(), c.User())
    			if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. cmd/iam-etcd-store.go

    		deleteKeyEtcd(ctx, ies.client, getUserIdentityPath(user, userType))
    		deleteKeyEtcd(ctx, ies.client, getMappedPolicyPath(user, userType, false))
    		return nil
    	}
    	if u.Credentials.AccessKey == "" {
    		u.Credentials.AccessKey = user
    	}
    	if u.Credentials.SessionToken != "" {
    		jwtClaims, err := extractJWTClaims(u)
    		if err != nil {
    			if u.Credentials.IsTemp() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top