Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Mapping (0.23 sec)

  1. 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)
  2. cmd/sts-handlers_test.go

            "description": ""
        }
    }
    `,
    		// Built-in user-to-policies mapping should be imported without errors
    		// even if LDAP is enabled.
    		userPolicyMappingsFile: `{
      "foo": {
        "version": 0,
        "policy": "readwrite",
        "updatedAt": "2024-04-23T21:34:43.815519816Z"
      }
    }
    `,
    		// Contains:
    		//
    		// 1. duplicate mapping with same policy, we should not error out;
    		//
    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)
  3. cmd/iam-store.go

    	if ok {
    		if !u.Credentials.IsValid() {
    			return nil, time.Time{}, nil
    		}
    	}
    
    	// For internal IDP regular/service account user accounts, the policy
    	// mapping is iamUserPolicyMap. For STS accounts, the parent user would be
    	// passed here and we lookup the mapping in iamSTSPolicyMap.
    	mp, ok := c.iamUserPolicyMap.Load(name)
    	if !ok {
    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)
  4. docs/site-replication/run-multi-site-ldap.sh

    if [ $? -ne 0 ]; then
    	echo "policy mapping missing, exiting.."
    	exit_1
    fi
    
    ./mc admin user info minio2 "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    if [ $? -ne 0 ]; then
    	echo "policy mapping missing, exiting.."
    	exit_1
    fi
    
    ./mc admin user info minio3 "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    if [ $? -ne 0 ]; then
    	echo "policy mapping missing, exiting.."
    	exit_1
    fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 04:51:23 GMT 2024
    - 10K bytes
    - Viewed (1)
  5. docs/site-replication/run-multi-site-minio-idp.sh

    fi
    
    ./mc admin user info minio1 foobar
    if [ $? -ne 0 ]; then
    	echo "policy mapping missing on 'minio1', exiting.."
    	exit_1
    fi
    
    ./mc admin user info minio2 foobar
    if [ $? -ne 0 ]; then
    	echo "policy mapping missing on 'minio2', exiting.."
    	exit_1
    fi
    
    ./mc admin user info minio3 foobar
    if [ $? -ne 0 ]; then
    	echo "policy mapping missing on 'minio3', exiting.."
    	exit_1
    fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. internal/config/identity/openid/openid.go

    			Value: "",
    		},
    		config.KV{
    			Key:   KeyCloakAdminURL,
    			Value: "",
    		},
    	}
    )
    
    var errSingleProvider = config.Errorf("Only one OpenID provider can be configured if not using role policy mapping")
    
    // DummyRoleARN is used to indicate that the user associated with it was
    // authenticated via policy-claim based OpenID provider.
    var DummyRoleARN = func() arn.ARN {
    	v, err := arn.NewIAMRoleARN("dummy-internal", "")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  7. 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)
  8. internal/config/identity/tls/config.go

    	// permissions - including admin permissions.
    	EnvIdentityTLSSkipVerify = "MINIO_IDENTITY_TLS_SKIP_VERIFY"
    )
    
    // Config contains the STS TLS configuration for generating temp.
    // credentials and mapping client certificates to S3 policies.
    type Config struct {
    	Enabled bool `json:"enabled"`
    
    	// InsecureSkipVerify, if set to true, disables the client
    	// certificate verification. It should only be set for
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.6K 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-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)
Back to top