Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CriticalOptions (0.07 sec)

  1. cmd/sftp-server-driver.go

    		FileList: handler,
    	}
    }
    
    func (f *sftpDriver) getMinIOClient() (*minio.Client, error) {
    	mcreds := credentials.NewStaticV4(
    		f.permissions.CriticalOptions["AccessKey"],
    		f.permissions.CriticalOptions["SecretKey"],
    		f.permissions.CriticalOptions["SessionToken"],
    	)
    	return minio.New(f.endpoint, &minio.Options{
    		Creds:     mcreds,
    		Secure:    globalIsTLS,
    		Transport: globalRemoteFTPClientTransport,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. cmd/sftp-server.go

    		"AccessKey": ui.Credentials.AccessKey,
    		"SecretKey": ui.Credentials.SecretKey,
    	}
    	if ui.Credentials.IsTemp() {
    		copts["SessionToken"] = ui.Credentials.SessionToken
    	}
    
    	return &ssh.Permissions{
    		CriticalOptions: copts,
    		Extensions:      make(map[string]string),
    	}, nil
    }
    
    func processLDAPAuthentication(key ssh.PublicKey, pass []byte, user string) (perms *ssh.Permissions, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top