Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for userIdentity (0.15 sec)

  1. cmd/iam-etcd-store.go

    			return err
    		}
    	}
    	return nil
    }
    
    func (ies *IAMEtcdStore) getUserKV(ctx context.Context, userkv *mvccpb.KeyValue, userType IAMUserType, m map[string]UserIdentity, basePrefix string) error {
    	var u UserIdentity
    	err := getIAMConfig(&u, userkv.Value, string(userkv.Key))
    	if err != nil {
    		if err == errConfigNotFound {
    			return errNoSuchUser
    		}
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. cmd/iam-object-store.go

    }
    
    func (iamOS *IAMObjectStore) loadUserIdentity(ctx context.Context, user string, userType IAMUserType) (UserIdentity, error) {
    	var u UserIdentity
    	err := iamOS.loadIAMConfig(ctx, &u, getUserIdentityPath(user, userType))
    	if err != nil {
    		if err == errConfigNotFound {
    			return u, errNoSuchUser
    		}
    		return u, err
    	}
    
    	if u.Credentials.IsExpired() {
    		// Delete expired identity - ignoring errors here.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. cmd/iam.go

    	sa, jwtClaims, err := sys.getAccountWithClaims(ctx, accessKey)
    	if err != nil {
    		if err == errNoSuchAccount {
    			return UserIdentity{}, nil, errNoSuchServiceAccount
    		}
    		return UserIdentity{}, nil, err
    	}
    	if !sa.Credentials.IsServiceAccount() {
    		return UserIdentity{}, nil, errNoSuchServiceAccount
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    	}
    }
    
    // UserIdentity represents a user's secret key and their status
    type UserIdentity struct {
    	Version     int              `json:"version"`
    	Credentials auth.Credentials `json:"credentials"`
    	UpdatedAt   time.Time        `json:"updatedAt,omitempty"`
    }
    
    func newUserIdentity(cred auth.Credentials) UserIdentity {
    	return UserIdentity{Version: 1, Credentials: cred, UpdatedAt: UTCNow()}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  5. docs/bucket/notifications/README.md

    ```py
    python rabbit.py
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. cmd/event-notification.go

    		EventVersion:      "2.0",
    		EventSource:       "minio:s3",
    		AwsRegion:         args.ReqParams["region"],
    		EventTime:         eventTime.Format(event.AMZTimeFormat),
    		EventName:         args.EventName,
    		UserIdentity:      event.Identity{PrincipalID: args.ReqParams["principalId"]},
    		RequestParameters: args.ReqParams,
    		ResponseElements:  respElements,
    		S3: event.Metadata{
    			SchemaVersion:   "1.0",
    			ConfigurationID: "Config",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. cmd/object-lambda-handlers.go

    			InputS3URL:  u.String(),
    			OutputRoute: shortuuid.New(),
    			OutputToken: hex.EncodeToString(ckSum[:]),
    		},
    		UserRequest: levent.UserRequest{
    			URL:     r.URL.String(),
    			Headers: r.Header.Clone(),
    		},
    		UserIdentity: levent.Identity{
    			Type:        "IAMUser",
    			PrincipalID: cred.AccessKey,
    			AccessKeyID: cred.SecretKey,
    		},
    	}
    	return eventData, nil
    }
    
    var statusTextToCode = map[string]int{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    				writeErrorResponse(ctx, w, exportError(ctx, err, iamFile, ""), r.URL)
    				return
    			}
    		case allUsersFile:
    			userIdentities := make(map[string]UserIdentity)
    			err := globalIAMSys.store.loadUsers(ctx, regUser, userIdentities)
    			if err != nil {
    				writeErrorResponse(ctx, w, exportError(ctx, err, iamFile, ""), r.URL)
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    				return errSRIAMError(err)
    			}
    		}
    	}
    
    	// Next should be userAccounts those are local users, OIDC and LDAP will not
    	// may not have any local users.
    	{
    		userAccounts := make(map[string]UserIdentity)
    		err := globalIAMSys.store.loadUsers(ctx, regUser, userAccounts)
    		if err != nil {
    			return errSRBackendIssue(err)
    		}
    
    		for _, acc := range userAccounts {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top