Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for mappings (0.32 sec)

  1. cmd/iam-store.go

    		}
    
    		mp, ok = c.iamUserPolicyMap.Load(name)
    		if !ok {
    			// Since user "name" could be a parent user of an STS account, we look up
    			// mappings for those too.
    			mp, ok = c.iamSTSPolicyMap.Load(name)
    			if !ok {
    				// Attempt to load parent user mapping for STS accounts
    				if err := store.loadMappedPolicyWithRetry(context.TODO(), name, stsUser, false, c.iamSTSPolicyMap, 3); err != nil && !errors.Is(err, errNoSuchPolicy) {
    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)
  2. cmd/iam.go

    			return true
    		})
    	}
    
    	return entityKeysInStorage
    }
    
    // NormalizeLDAPMappingImport - validates the LDAP policy mappings. Keys in the
    // given map may not correspond to LDAP DNs - these keys are ignored.
    //
    // For validated mappings, it updates the key in the given map to be in
    // normalized form.
    func (sys *IAMSys) NormalizeLDAPMappingImport(ctx context.Context, isGroup bool,
    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. src/cmd/cgo/godefs.go

    	fmt.Fprintf(&buf, "// %s %s\n", filepath.Base(args[0]), strings.Join(args[1:], " "))
    	fmt.Fprintf(&buf, "\n")
    
    	override := make(map[string]string)
    
    	// Allow source file to specify override mappings.
    	// For example, the socket data structures refer
    	// to in_addr and in_addr6 structs but we want to be
    	// able to treat them as byte arrays, so the godefs
    	// inputs in package syscall say
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    		mp, ok := globalIAMSys.store.GetMappedPolicy(mapping.Policy, mapping.IsGroup)
    		if ok && mp.UpdatedAt.After(updatedAt) {
    			return nil
    		}
    	}
    
    	// When LDAP is enabled, we verify that the user or group exists in LDAP and
    	// use the normalized form of the entityName (which will be an LDAP DN).
    	userType := IAMUserType(mapping.UserType)
    	isGroup := mapping.IsGroup
    	entityName := mapping.UserOrGroup
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  5. cmd/admin-handlers-users.go

    	allUsersFile              = "users.json"
    	allGroupsFile             = "groups.json"
    	allSvcAcctsFile           = "svcaccts.json"
    	userPolicyMappingsFile    = "user_mappings.json"
    	groupPolicyMappingsFile   = "group_mappings.json"
    	stsUserPolicyMappingsFile = "stsuser_mappings.json"
    
    	iamAssetsDir = "iam-assets"
    )
    
    var iamExportFiles = []string{
    	allPoliciesFile,
    	allUsersFile,
    	allGroupsFile,
    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)
  6. cmd/admin-handlers-idp-ldap.go

    //
    //	user=... -> repeatable query parameter, specifying users to query for
    //	policy mapping
    //
    //	group=... -> repeatable query parameter, specifying groups to query for
    //	policy mapping
    //
    //	policy=... -> repeatable query parameter, specifying policy to query for
    //	user/group mapping
    //
    // When all query parameters are omitted, returns mappings for all policies.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. cmd/iam-etcd-store.go

    		}
    	}
    	// Retrieve all keys and values to avoid too many calls to etcd in case of
    	// a large number of policy mappings
    	r, err := ies.client.Get(cctx, basePrefix, etcd.WithPrefix())
    	if err != nil {
    		return err
    	}
    
    	// Parse all policies mapping to create the proper data model
    	for _, kv := range r.Kvs {
    		if err = getMappedPolicy(kv, m, basePrefix); err != nil && !errors.Is(err, errNoSuchPolicy) {
    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)
  8. cmd/sts-handlers_test.go

    		c.Fatalf("import %d: user policy mappings mismatch: expected: %v, got: %v", caseNum, content.ldapUserPolicyMappings, gotContent.ldapUserPolicyMappings)
    	}
    
    	if !reflect.DeepEqual(content.ldapGroupPolicyMappings, gotContent.ldapGroupPolicyMappings) {
    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)
  9. cmd/handler-utils.go

    	"X-Minio-Replication-Server-Side-Encryption-Iv",
    	"X-Minio-Replication-Encrypted-Multipart",
    	"X-Minio-Replication-Actual-Object-Size",
    	// Add more supported headers here.
    }
    
    // mapping of internal headers to allowed replication headers
    var validSSEReplicationHeaders = map[string]string{
    	"X-Minio-Internal-Server-Side-Encryption-Sealed-Key":     "X-Minio-Replication-Server-Side-Encryption-Sealed-Key",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  10. cmd/iam-object-store.go

    	}
    
    	bootstrapTraceMsg("loading user policy mapping")
    	userPolicyMappingsList := listedConfigItems[policyDBUsersListKey]
    	for _, item := range userPolicyMappingsList {
    		userName := strings.TrimSuffix(item, ".json")
    		if err := iamOS.loadMappedPolicy(ctx, userName, regUser, false, cache.iamUserPolicyMap); err != nil && !errors.Is(err, errNoSuchPolicy) {
    			return fmt.Errorf("unable to load the policy mapping for the user `%s`: %w", userName, err)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top