Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sessionPolicy (0.09 sec)

  1. 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)
Back to top