Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LookupAutoEncryption (0.28 sec)

  1. internal/crypto/auto-encryption.go

    	// If present EnvAutoEncryption must be either "on" or "off".
    	EnvKMSAutoEncryption = "MINIO_KMS_AUTO_ENCRYPTION"
    )
    
    // LookupAutoEncryption returns true if and only if
    // the MINIO_KMS_AUTO_ENCRYPTION env. variable is
    // set to "on".
    func LookupAutoEncryption() bool {
    	auto, _ := config.ParseBool(env.Get(EnvKMSAutoEncryption, config.EnableOff))
    	return auto
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. cmd/config-current.go

    	if err != nil {
    		configLogIf(ctx, fmt.Errorf("Invalid site configuration: %w", err))
    	}
    	globalSite.Update(siteCfg)
    
    	globalAutoEncryption = crypto.LookupAutoEncryption() // Enable auto-encryption if enabled
    	if globalAutoEncryption && GlobalKMS == nil {
    		logger.Fatal(errors.New("no KMS configured"), "MINIO_KMS_AUTO_ENCRYPTION requires a valid KMS configuration")
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 08:14:58 UTC 2024
    - 30.8K bytes
    - Viewed (0)
Back to top