Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ParseSecretKey (0.12 sec)

  1. cmd/object_api_suite_test.go

    	globalCompressConfig.Extensions = extensions
    	globalCompressConfig.AllowEncrypted = encrypt
    	globalCompressConfigMu.Unlock()
    	if encrypt {
    		globalAutoEncryption = encrypt
    		KMS, err := kms.ParseSecretKey("my-minio-key:5lF+0pJM0OWwlQrvK2S/I7W9mO4a6rJJI7wzj7v09cw=")
    		if err != nil {
    			t.Fatal(err)
    		}
    		GlobalKMS = KMS
    	}
    }
    
    func enableEncryption(t *testing.T) {
    	// Exec with default settings...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. internal/kms/config.go

    			}
    			if err != nil {
    				return nil, err
    			}
    			s = string(b)
    		} else {
    			s = env.Get(EnvKMSSecretKey, "")
    		}
    		return ParseSecretKey(s)
    	}
    }
    
    // IsPresent reports whether a KMS configuration is present.
    // It returns an error if multiple KMS configurations are
    // present or if one configuration is incomplete.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top