Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for accesskey (0.15 sec)

  1. cmd/admin-handlers-users.go

    	// remove the root user. Also you cannot delete yourself.
    	if accessKey == globalActiveCred.AccessKey || accessKey == cred.AccessKey {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errIAMActionNotAllowed), r.URL)
    		return
    	}
    
    	if err := globalIAMSys.DeleteUser(ctx, accessKey, true); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  2. cmd/iam.go

    	switch {
    	case usersPrefix:
    		accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigUsersPrefix))
    		err = sys.store.UserNotificationHandler(ctx, accessKey, regUser)
    	case stsPrefix:
    		accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigSTSPrefix))
    		err = sys.store.UserNotificationHandler(ctx, accessKey, stsUser)
    	case svcPrefix:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    					_ = store.deleteUserIdentity(ctx, u.AccessKey, svcUser)
    					delete(cache.iamUsersMap, u.AccessKey)
    				case u.IsTemp():
    					_ = store.deleteUserIdentity(ctx, u.AccessKey, stsUser)
    					delete(cache.iamUsersMap, u.AccessKey)
    				}
    			}
    		}
    	}
    
    	// It is ok to ignore deletion error on the mapped policy
    	store.deleteMappedPolicy(ctx, accessKey, userType, false)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    		}
    
    		// Retrieve the STS account's credential object.
    		u, ok := globalIAMSys.GetUser(ctx, value.AccessKeyID)
    		if !ok {
    			c.Fatalf("Expected to find user %s", value.AccessKeyID)
    		}
    
    		if u.Credentials.AccessKey != value.AccessKeyID {
    			c.Fatalf("Expected access key %s, got %s", value.AccessKeyID, u.Credentials.AccessKey)
    		}
    
    		// Retrieve the credential's claims.
    		secret, err := getTokenSigningKey()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	return nil
    }
    
    // Sign given request using Signature V2.
    func signRequestV2(req *http.Request, accessKey, secretKey string) error {
    	signer.SignV2(*req, accessKey, secretKey, false)
    	return nil
    }
    
    // Sign given request using Signature V4.
    func signRequestV4(req *http.Request, accessKey, secretKey string) error {
    	// Get hashed payload.
    	hashedPayload := req.Header.Get("x-amz-content-sha256")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  6. cmd/peer-rest-server.go

    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    
    	accessKey := mss.Get(peerRESTUser)
    	if accessKey == "" {
    		return np, grid.NewRemoteErr(errors.New("service account name is missing"))
    	}
    
    	if err := globalIAMSys.DeleteServiceAccount(context.Background(), accessKey, false); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K 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,
    		}) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    	u, err := url.Parse(r.Source.Endpoint)
    	if err != nil {
    		return err
    	}
    
    	cred := r.Source.Creds
    
    	c, err := miniogo.New(u.Host, &miniogo.Options{
    		Creds:        credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken),
    		Secure:       u.Scheme == "https",
    		Transport:    getRemoteInstanceTransport(),
    		BucketLookup: lookupStyle(r.Source.Path),
    	})
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  9. docs/bucket/notifications/README.md

                "eventName": "s3:ObjectCreated:Put",
                "userIdentity": {
                    "principalId": "AKIAIOSFODNN7EXAMPLE"
                },
                "requestParameters": {
                    "accessKey": "AKIAIOSFODNN7EXAMPLE",
                    "region": "",
                    "sourceIPAddress": "192.168.56.192"
                },
                "responseElements": {
                    "x-amz-request-id": "15C3249451E12784",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  10. src/runtime/mheap.go

    	// reallocated and move as the heap grows.
    	//
    	// In general, allspans is protected by mheap_.lock, which
    	// prevents concurrent access as well as freeing the backing
    	// store. Accesses during STW might not hold the lock, but
    	// must ensure that allocation cannot happen around the
    	// access (since that may free the backing store).
    	allspans []*mspan // all spans out there
    
    	// Proportional sweep
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
Back to top