Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for UserName (0.2 sec)

  1. cmd/sts-handlers_test.go

    	if err != nil {
    		c.Fatalf("bucket create error: %v", err)
    	}
    
    	// Create policy
    	policy := "mypolicy-username"
    	policyBytes := []byte(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
       "Action": [
        "s3:*"
       ],
       "Resource": [
        "arn:aws:s3:::${aws:username}-*"
       ]
      }
     ]
    }`)
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  2. cmd/iam.go

    	var parentUsers []string
    	// Map of LDAP user to list of active credential objects
    	parentUserToCredsMap := make(map[string][]auth.Credentials)
    	// DN to ldap username mapping for each LDAP user
    	parentUserToLDAPUsernameMap := make(map[string]string)
    	for _, cred := range allCreds {
    		// Expired credentials don't need parent user updates.
    		if cred.IsExpired() {
    			continue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  3. cmd/api-errors.go

    		HTTPStatusCode: http.StatusNotImplemented,
    	},
    	ErrAdminLDAPExpectedLoginName: {
    		Code:           "XMinioLDAPExpectedLoginName",
    		Description:    "Expected LDAP short username but was given full DN.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    }
    
    // toAPIErrorCode - Converts embedded errors. Convenience
    // function written to handle all cases where we have known types of
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. cmd/peer-rest-server.go

    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    
    	accessKey := mss.Get(peerRESTUser)
    	if accessKey == "" {
    		return np, grid.NewRemoteErr(errors.New("username is missing"))
    	}
    
    	if err := globalIAMSys.DeleteUser(context.Background(), accessKey, false); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    type iamCache struct {
    	updatedAt time.Time
    
    	// map of policy names to policy definitions
    	iamPolicyDocsMap map[string]PolicyDoc
    
    	// map of regular username to credentials
    	iamUsersMap map[string]UserIdentity
    	// map of regular username to policy names
    	iamUserPolicyMap *xsync.MapOf[string, MappedPolicy]
    
    	// STS accounts are loaded on demand and not via the periodic IAM reload.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. docs/bucket/notifications/README.md

    ARGS:
    broker*              (uri)       MQTT server endpoint e.g. `tcp://localhost:1883`
    topic*               (string)    name of the MQTT topic to publish
    username             (string)    MQTT username
    password             (string)    MQTT password
    qos                  (number)    set the quality of service priority, defaults to '0'
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  7. cmd/admin-handlers-users.go

    		// query their groups:
    		opts.claims[ldapUserN] = targetUser // simple username
    		targetUser, targetGroups, err = globalIAMSys.LDAPConfig.LookupUserDN(targetUser)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		opts.claims[ldapUser] = targetUser // username DN
    
    		// NOTE: if not using LDAP, then internal IDP or open ID is
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top