Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for userIdentity (0.13 sec)

  1. internal/config/lambda/event/event.go

    //	}
    type Event struct {
    	ProtocolVersion  string            `json:"protocolVersion"`
    	GetObjectContext *GetObjectContext `json:"getObjectContext"`
    	UserIdentity     Identity          `json:"userIdentity"`
    	UserRequest      UserRequest       `json:"userRequest"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. internal/event/event.go

    	AwsRegion         string            `json:"awsRegion"`
    	EventTime         string            `json:"eventTime"`
    	EventName         Name              `json:"eventName"`
    	UserIdentity      Identity          `json:"userIdentity"`
    	RequestParameters map[string]string `json:"requestParameters"`
    	ResponseElements  map[string]string `json:"responseElements"`
    	S3                Metadata          `json:"s3"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top