Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 109 for kms (0.01 seconds)

  1. internal/crypto/metadata.go

    	MetaSealedKeyKMS = "X-Minio-Internal-Server-Side-Encryption-Kms-Sealed-Key"
    
    	// MetaKeyID is the KMS master key ID used to generate/encrypt the data
    	// encryption key (DEK).
    	MetaKeyID = "X-Minio-Internal-Server-Side-Encryption-S3-Kms-Key-Id"
    	// MetaDataEncryptionKey is the sealed data encryption key (DEK) received from
    	// the KMS.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jun 10 17:40:33 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  2. 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{""},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jul 13 14:52:15 GMT 2022
    - 21.4K bytes
    - Click Count (0)
  3. cmd/bucket-encryption-handlers.go

    		return
    	}
    
    	// Return error if KMS is not initialized
    	if GlobalKMS == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL)
    		return
    	}
    	kmsKey := encConfig.KeyID()
    	if kmsKey != "" {
    		kmsContext := kms.Context{"MinIO admin API": "ServerInfoHandler"} // Context for a test key operation
    		_, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{Name: kmsKey, AssociatedData: kmsContext})
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  4. internal/crypto/doc.go

    //     -   ObjectKey := DAREv2_Dec(KeyEncKey, SealedKey)
    //     - object_data := DAREv2_Dec(ObjectKey, enc_object_data)
    //     Output: object_data
    //
    // ### SSE-S3 and KMS
    //
    // SSE-S3 requires that the KMS provides two functions:
    //
    //  1. Generate(KeyID) -> (Key, EncKey)
    //
    //  2. Unseal(KeyID, EncKey) -> Key
    //
    //  1. Encrypt:
    //     Input: KeyID, bucket, object, metadata, object_data
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 26 19:52:29 GMT 2022
    - 5K bytes
    - Click Count (0)
  5. internal/bucket/encryption/bucket-sse-config.go

    func (b *BucketSSEConfig) Algo() Algorithm {
    	for _, rule := range b.Rules {
    		return rule.DefaultEncryptionAction.Algorithm
    	}
    	return ""
    }
    
    // KeyID returns the KMS key ID specified by the SSE configuration.
    // If the SSE configuration does not specify SSE-KMS it returns an
    // empty key ID.
    func (b *BucketSSEConfig) KeyID() string {
    	for _, rule := range b.Rules {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 4.9K bytes
    - Click Count (0)
  6. 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.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  7. cmd/post-policy-fan-out.go

    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/kms"
    )
    
    type fanOutOptions struct {
    	Kind     crypto.Type
    	KeyID    string
    	Key      []byte
    	KmsCtx   kms.Context
    	Checksum *hash.Checksum
    	MD5Hex   string
    }
    
    // fanOutPutObject takes an input source reader and fans out multiple PUT operations
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. cmd/logging.go

    	logger.LogIf(ctx, "kms", err, errKind...)
    }
    
    // KMSLogger permits access to kms module specific logging
    type KMSLogger struct{}
    
    // LogOnceIf is the implementation of LogOnceIf, accessible using the Logger interface
    func (l KMSLogger) LogOnceIf(ctx context.Context, err error, id string, errKind ...any) {
    	logger.LogOnceIf(ctx, "kms", err, id, errKind...)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. internal/crypto/error.go

    	ErrIncompatibleEncryptionWithCompression = Errorf("Server side encryption specified with SSE-C with compression not allowed")
    
    	// ErrInvalidEncryptionKeyID returns error when KMS key id contains invalid characters
    	ErrInvalidEncryptionKeyID = Errorf("KMS KeyID contains unsupported characters")
    )
    
    var (
    	errMissingInternalIV            = Errorf("The object metadata is missing the internal encryption IV")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. cmd/config.go

    	"errors"
    	"fmt"
    	"path"
    	"sort"
    	"strings"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/kms"
    )
    
    const (
    	minioConfigPrefix = "config"
    	minioConfigBucket = minioMetaBucket + SlashSeparator + minioConfigPrefix
    	kvPrefix          = ".kv"
    
    	// Captures all the previous SetKV operations and allows rollback.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top