Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for kms (0.01 sec)

  1. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. cmd/common-main.go

    	}
    
    	KMS, err := kms.Connect(GlobalContext, &kms.ConnectionOptions{
    		CADir: globalCertsCADir.Get(),
    	})
    	if err != nil {
    		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})
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  8. cmd/bucket-metadata.go

    	encBytes, metaBytes, err := encryptBucketMetadata(ctx, b.Name, b.BucketTargetsConfigJSON, kms.Context{b.Name: b.Name, bucketTargetsFile: bucketTargetsFile})
    	if err != nil {
    		return err
    	}
    
    	b.BucketTargetsConfigJSON = encBytes
    	b.BucketTargetsConfigMetaJSON = metaBytes
    	return b.Save(ctx, objectAPI)
    }
    
    // encrypt bucket metadata if kms is configured.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. cmd/globals.go

    	globalDNSConfig dns.Store
    
    	// GlobalKMS initialized KMS configuration
    	GlobalKMS *kms.KMS
    
    	// Common lock for various subsystems performing the leader tasks
    	globalLeaderLock *sharedLock
    
    	// Auto-Encryption, if enabled, turns any non-SSE-C request
    	// into an SSE-S3 request. If enabled a valid, non-empty KMS
    	// configuration must be present.
    	globalAutoEncryption bool
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (1)
  10. cmd/tier.go

    }
    
    // configReader returns a PutObjReader and ObjectOptions needed to save config
    // using a PutObject API. PutObjReader encrypts json encoded tier configurations
    // if KMS is enabled, otherwise simply yields the json encoded bytes as is.
    // Similarly, ObjectOptions value depends on KMS' status.
    func (config *TierConfigMgr) configReader(ctx context.Context) (*PutObjReader, *ObjectOptions, error) {
    	b, err := config.Bytes()
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top