Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for kms (0.02 sec)

  1. internal/kms/kms.go

    	conn conn // Connection to the KMS
    
    	// Metrics
    	reqOK, reqErr, reqFail atomic.Uint64
    	latencyBuckets         []time.Duration // expected to be sorted
    	latency                []atomic.Uint64
    }
    
    // Version returns version information about the KMS.
    //
    // TODO(aead): refactor this API call since it does not account
    // for multiple KMS/KES servers.
    func (k *KMS) Version(ctx context.Context) (string, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. cmd/kms-handlers_test.go

    	kmsKeyStatusPath = kmsURL + "/key/status"
    
    	// Admin API paths
    	// For example: /minio/admin/v3/kms/status
    	adminURL              = adminPathPrefix + adminAPIVersionPrefix
    	kmsAdminStatusPath    = adminURL + "/kms/status"
    	kmsAdminKeyStatusPath = adminURL + "/kms/key/status"
    	kmsAdminKeyCreate     = adminURL + "/kms/key/create"
    )
    
    const (
    	userAccessKey = "miniofakeuseraccesskey"
    	userSecretKey = "miniofakeusersecret"
    )
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. cmd/kms-handlers.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL)
    		return
    	}
    
    	kmsContext := kms.Context{"MinIO admin API": "KMSKeyStatusHandler"} // Context for a test key operation
    	// 1. Generate a new key using the KMS.
    	key, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{Name: keyID, AssociatedData: kmsContext})
    	if err != nil {
    		response.EncryptionErr = err.Error()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. docs/site-replication/run-sse-kms-object-replication.sh

    # sleep for replication to complete
    sleep 30
    
    # Create bucket in source cluster
    echo "Create bucket in source MinIO instance"
    ./mc mb minio1/test-bucket --insecure
    
    # Enable SSE KMS for the bucket
    ./mc encrypt set sse-kms minio-default-key minio1/test-bucket --insecure
    
    # Load objects to source site
    echo "Loading objects to source MinIO instance"
    ./mc cp /tmp/data/encrypted minio1/test-bucket --insecure
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. docs/security/README.md

    More details about supported KMS implementations and configuration can be found at the [KMS guide](https://github.com/minio/minio/blob/master/docs/kms/README.md).
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  6. internal/kms/config.go

    	switch {
    	case kmsPresent && kesPresent:
    		return false, errors.New("kms: configuration for MinIO KMS and MinIO KES is present")
    	case kmsPresent && staticKeyPresent:
    		return false, errors.New("kms: configuration for MinIO KMS and static KMS key is present")
    	case kesPresent && staticKeyPresent:
    		return false, errors.New("kms: configuration for MinIO KES and static KMS key is present")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. cmd/batch-rotate.go

    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/pkg/v3/env"
    	"github.com/minio/pkg/v3/workers"
    )
    
    // keyrotate:
    //   apiVersion: v1
    //   bucket: BUCKET
    //   prefix: PREFIX
    //   encryption:
    //     type: sse-s3 # valid values are sse-s3 and sse-kms
    //     key: <new-kms-key> # valid only for sse-kms
    //     context: <new-kms-key-context> # valid only for sse-kms
    // # optional flags based filtering criteria
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. cmd/encryption-v1.go

    	errKMSNotConfigured               = errors.New("KMS not configured for a server side encrypted objects")
    	errKMSKeyNotFound                 = errors.New("Unknown KMS key ID")
    	errKMSDefaultKeyAlreadyConfigured = errors.New("A default encryption already exists on KMS")
    	// Additional MinIO errors for SSE-C requests.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  9. internal/crypto/header_test.go

    	{Header: http.Header{"X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id": []string{"0839-9047947-844842874-481"}}, Expected: true}, // 2
    	{Header: http.Header{"X-Amz-Server-Side-Encryption-Context": []string{"7PpPLAK26ONlVUGOWlusfg=="}}, Expected: true},          // 3
    	{
    		Header: http.Header{
    			"X-Amz-Server-Side-Encryption":                []string{""},
    			"X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id": []string{""},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  10. cmd/common-main.go

    		logger.Fatal(err, "Failed to connect to KMS")
    	}
    
    	if _, err = KMS.GenerateKey(GlobalContext, &kms.GenerateKeyRequest{}); errors.Is(err, kms.ErrKeyNotFound) {
    		err = KMS.CreateKey(GlobalContext, &kms.CreateKeyRequest{Name: KMS.DefaultKey})
    	}
    	if err != nil && !errors.Is(err, kms.ErrKeyExists) && !errors.Is(err, kms.ErrPermission) {
    		logger.Fatal(err, "Failed to connect to KMS")
    	}
    	GlobalKMS = KMS
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top