Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for sessionPolicy (0.14 sec)

  1. docs/distributed/samples/myminio-iam-info-openid.zip

    policy":"inherited-policy","sub":"Cit1aWQ9ZGlsbG9uLG91"},"sessionPolicy":null,"status":"on","name":"","description":"","expiration":"1970-01-01T00:00:00Z"},"dillon-svcacct-1":{"parent":"oCnAoSQFtdVQtKwrB73j","accessKey":"dillon-svcacct-1","secretKey":"dillon-svcacct-1","groups":null,"claims":{"accessKey":"dillon-svcacct-1","parent":"oCnAoSQFtdVQtKwrB73j","sa-policy":"embedded-policy","sessionPolicy":"eyJWZXJzaW9uIjoiIiwi==","sessionPolicy-extracted":"{\"Version\":\"\",\"Statement\":null}"},"sess...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. docs/distributed/samples/myminio-iam-info.zip

    ldapActualUser":"uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io","ldapUser":"uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io","ldapUsername":"bobfisher","parent":"uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io","sa-policy":"inherited-policy"},"sessionPolicy":null,"status":"on","name":"","description":"","expiration":"1970-01-01T00:00:00Z"},"bobfisher-svcacct-2":{"parent":"uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io","accessKey":"bobfisher-svcacct-2","secretKey":"bobfisher-svcacct-2","groups":n...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 15:59:00 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    			return
    		}
    	}
    
    	// if session policy is nil or empty, then it is implied policy
    	impliedPolicy := sessionPolicy == nil || (sessionPolicy.Version == "" && len(sessionPolicy.Statements) == 0)
    
    	var svcAccountPolicy policy.Policy
    
    	if !impliedPolicy {
    		svcAccountPolicy = *sessionPolicy
    	} else {
    		policiesNames, err := globalIAMSys.PolicyDBGet(svcAccount.ParentUser, svcAccount.Groups...)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  4. cmd/jwt.go

    		if ucred.ParentUser == globalActiveCred.AccessKey && !globalAPIConfig.permitRootAccess() {
    			return nil, nil, false, errAccessKeyDisabled
    		}
    
    		// Now check if we have a sessionPolicy.
    		if _, ok = eclaims[policy.SessionPolicyName]; ok {
    			owner = false
    		} else {
    			owner = globalActiveCred.AccessKey == ucred.ParentUser
    		}
    
    		groups = ucred.Groups
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    		m.Set(iamPolicyClaimNameSA(), inheritedPolicyType)
    	}
    
    	if opts.sessionPolicy != nil { // session policies is being updated
    		if err := opts.sessionPolicy.Validate(); err != nil {
    			return updatedAt, err
    		}
    
    		if opts.sessionPolicy.Version != "" && len(opts.sessionPolicy.Statements) > 0 {
    			policyBuf, err := json.Marshal(opts.sessionPolicy)
    			if err != nil {
    				return updatedAt, err
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  6. cmd/iam.go

    		return auth.Credentials{}, time.Time{}, auth.ErrNoAccessKeyWithSecretKey
    	}
    
    	var policyBuf []byte
    	if opts.sessionPolicy != nil {
    		err := opts.sessionPolicy.Validate()
    		if err != nil {
    			return auth.Credentials{}, time.Time{}, err
    		}
    		policyBuf, err = json.Marshal(opts.sessionPolicy)
    		if err != nil {
    			return auth.Credentials{}, time.Time{}, err
    		}
    		if len(policyBuf) > maxSVCSessionPolicySize {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  7. cmd/sts-handlers.go

    		return nil
    	}
    
    	sessionPolicy, err := policy.ParseConfig(bytes.NewReader([]byte(sessionPolicyStr)))
    	if err != nil {
    		return err
    	}
    
    	// Version in policy must not be empty
    	if sessionPolicy.Version == "" {
    		return errors.New("Version cannot be empty expecting '2012-10-17'")
    	}
    
    	policyBuf, err := json.Marshal(sessionPolicy)
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  8. cmd/admin-handlers-idp-ldap.go

    					SecretKey:     newCred.SecretKey,
    					Groups:        newCred.Groups,
    					Name:          newCred.Name,
    					Description:   newCred.Description,
    					Claims:        opts.claims,
    					SessionPolicy: createReq.Policy,
    					Status:        auth.AccountOn,
    					Expiration:    createReq.Expiration,
    				},
    			},
    			UpdatedAt: updatedAt,
    		}))
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    		return errSRInvalidRequest(errInvalidArgument)
    	}
    	switch {
    	case change.Create != nil:
    		var sp *policy.Policy
    		var err error
    		if len(change.Create.SessionPolicy) > 0 {
    			sp, err = policy.ParseConfig(bytes.NewReader(change.Create.SessionPolicy))
    			if err != nil {
    				return wrapSRErr(err)
    			}
    		}
    		// skip overwrite of local update if peer sent stale info
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

                "ldapUsername": "svc.algorithm",
                "parent": "uid=svc.algorithm,ou=swengg,dc=min,dc=io",
                "sa-policy": "inherited-policy"
            },
            "sessionPolicy": null,
            "status": "on",
            "name": "",
            "description": ""
        }
    }
    `,
    		// Built-in user-to-policies mapping should be imported without errors
    		// even if LDAP is enabled.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top