Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for access (0.15 sec)

  1. docs/iam/access-manager-plugin.go

    Aditya Manthramurthy <******@****.***> 1707412520 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. internal/lock/lock_windows.go

    	case syscall.O_WRONLY:
    		access = syscall.GENERIC_WRITE
    	case syscall.O_RDWR:
    		fallthrough
    	case syscall.O_RDWR | syscall.O_CREAT:
    		fallthrough
    	case syscall.O_WRONLY | syscall.O_CREAT:
    		access = syscall.GENERIC_READ | syscall.GENERIC_WRITE
    	case syscall.O_WRONLY | syscall.O_CREAT | syscall.O_APPEND:
    		access = syscall.FILE_APPEND_DATA
    	default:
    		return nil, fmt.Errorf("Unsupported flag (%d)", flag)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. internal/auth/credentials_test.go

    		valid       bool
    		expectedErr error
    	}{
    		// Valid access and secret keys with minimum length.
    		{alphaNumericTable[:accessKeyMinLen], alphaNumericTable[:secretKeyMinLen], true, nil},
    		// Valid access and/or secret keys are longer than minimum length.
    		{alphaNumericTable[:accessKeyMinLen+1], alphaNumericTable[:secretKeyMinLen+1], true, nil},
    		// Smaller access key.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. docs/debugging/s3-verify/main.go

    		return nil, err
    	}
    
    	return clnt, nil
    }
    
    func main() {
    	flag.StringVar(&sourceEndpoint, "source-endpoint", "https://play.min.io", "S3 endpoint URL")
    	flag.StringVar(&sourceAccessKey, "source-access-key", "Q3AM3UQ867SPQQA43P2F", "S3 Access Key")
    	flag.StringVar(&sourceSecretKey, "source-secret-key", "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG", "S3 Secret Key")
    	flag.StringVar(&sourceBucket, "source-bucket", "", "Select a specific bucket")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  5. cmd/sts-datatypes.go

    	// The identifiers for the temporary security credentials that the operation
    	// returns.
    	AssumedRoleUser AssumedRoleUser `xml:",omitempty"`
    
    	// The temporary security credentials, which include an access key ID, a secret
    	// access key, and a security (or session) token.
    	//
    	// Note: The size of the security token that STS APIs return is not fixed. We
    	// strongly recommend that you make no assumptions about the maximum size. As
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    	if err != nil {
    		return res, err
    	}
    
    	if !skipAccessChecks(srcVolume) {
    		// Stat a volume entry.
    		if err = Access(srcVolumeDir); err != nil {
    			return res, convertAccessError(err, errVolumeAccessDenied)
    		}
    	}
    
    	if !skipAccessChecks(dstVolume) {
    		if err = Access(dstVolumeDir); err != nil {
    			return res, convertAccessError(err, errVolumeAccessDenied)
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  7. cmd/config-current.go

    			return
    		}
    
    		aKey, err := manager.HMAC(GlobalContext, stat.DefaultKey, []byte("root access key"))
    		if errors.Is(err, kes.ErrNotAllowed) {
    			return // If we don't have permission to compute the HMAC, don't change the cred.
    		}
    		if err != nil {
    			logger.Fatal(err, "Unable to generate root access key using KMS")
    		}
    
    		sKey, err := manager.HMAC(GlobalContext, stat.DefaultKey, []byte("root secret key"))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  8. cmd/signature-v4-parser.go

    	if len(credElements) < 5 {
    		return ch, ErrCredMalformed
    	}
    	accessKey := strings.Join(credElements[:len(credElements)-4], SlashSeparator) // The access key may contain one or more `/`
    	if !auth.IsAccessKeyValid(accessKey) {
    		return ch, ErrInvalidAccessKeyID
    	}
    	// Save access key id.
    	cred := credentialHeader{
    		accessKey: accessKey,
    	}
    	credElements = credElements[len(credElements)-4:]
    	var e error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. cni/pkg/pluginlistener/listener.go

    	var err error
    	listener, err := net.Listen("unix", path)
    	if err != nil {
    		return nil, fmt.Errorf("failed to listen on unix socket %q: %v", path, err)
    	}
    
    	// Update file permission so that cni plugin has permission to access it.
    	if _, err := os.Stat(path); err != nil {
    		return nil, fmt.Errorf("cni listener file %q doesn't exist", path)
    	}
    	if err := os.Chmod(path, 0o666); err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. internal/disk/fdatasync_linux.go

    // unless that metadata is needed in order to allow a subsequent data retrieval
    // to  be  correctly  handled.   For example, changes to st_atime or st_mtime
    // (respectively, time of last access and time of last modification; see inode(7))
    // do not require flushing because they are not necessary for a subsequent data
    // read to be handled correctly. On the other hand, a change to the file size
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 29 23:40:28 GMT 2021
    - 1.8K bytes
    - Viewed (0)
Back to top