Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for kmskeyid (0.09 sec)

  1. cmd/batch-rotate.go

    	Tags          []BatchJobKV  `yaml:"tags,omitempty" json:"tags"`
    	Metadata      []BatchJobKV  `yaml:"metadata,omitempty" json:"metadata"`
    	KMSKeyID      string        `yaml:"kmskeyid" json:"kmskey"`
    }
    
    // BatchKeyRotateNotification success or failure notification endpoint for each job attempts
    type BatchKeyRotateNotification struct {
    	Endpoint string `yaml:"endpoint" json:"endpoint"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/encryption-v1.go

    	SSEDAREPackageMetaSize = 32 // 32 bytes
    
    )
    
    // KMSKeyID returns in AWS compatible KMS KeyID() format.
    func (o *ObjectInfo) KMSKeyID() string { return kmsKeyIDFromMetadata(o.UserDefined) }
    
    // KMSKeyID returns in AWS compatible KMS KeyID() format.
    func (o *MultipartInfo) KMSKeyID() string { return kmsKeyIDFromMetadata(o.UserDefined) }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle.go

    // Encryption specifies encryption setting on restored bucket
    type Encryption struct {
    	EncryptionType sse.Algorithm `xml:"EncryptionType"`
    	KMSContext     string        `xml:"KMSContext,omitempty"`
    	KMSKeyID       string        `xml:"KMSKeyId,omitempty"`
    }
    
    // MetadataEntry denotes name and value.
    type MetadataEntry struct {
    	Name  string `xml:"Name"`
    	Value string `xml:"Value"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    		w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES)
    	case crypto.S3KMS:
    		w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS)
    		w.Header().Set(xhttp.AmzServerSideEncryptionKmsID, objInfo.KMSKeyID())
    		if kmsCtx, ok := objInfo.UserDefined[crypto.MetaContext]; ok {
    			w.Header().Set(xhttp.AmzServerSideEncryptionKmsContext, kmsCtx)
    		}
    	case crypto.SSEC:
    		// Validate the SSE-C Key set in the header.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    		switch kind {
    		case crypto.S3KMS:
    			w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS)
    			w.Header().Set(xhttp.AmzServerSideEncryptionKmsID, mi.KMSKeyID())
    			if kmsCtx, ok := mi.UserDefined[crypto.MetaContext]; ok {
    				w.Header().Set(xhttp.AmzServerSideEncryptionKmsContext, kmsCtx)
    			}
    			if len(etag) >= 32 && strings.Count(etag, "-") != 1 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    	}
    	if crypto.S3.IsEncrypted(objInfo.UserDefined) {
    		putOpts.ServerSideEncryption = encrypt.NewSSE()
    	}
    
    	if crypto.S3KMS.IsEncrypted(objInfo.UserDefined) {
    		sseEnc, err := encrypt.NewSSEKMS(objInfo.KMSKeyID(), nil)
    		if err != nil {
    			return putOpts, err
    		}
    		putOpts.ServerSideEncryption = sseEnc
    	}
    	return
    }
    
    type replicationAction string
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  7. cmd/admin-bucket-handlers.go

    			if GlobalKMS == nil {
    				rpt.SetStatus(bucket, fileName, fmt.Errorf("%s", errorCodes[ErrKMSNotConfigured].Description))
    				continue
    			}
    			kmsKey := encConfig.KeyID()
    			if kmsKey != "" {
    				_, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{
    					Name:           kmsKey,
    					AssociatedData: kms.Context{"MinIO admin API": "ServerInfoHandler"}, // Context for a test key operation
    				})
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  8. cmd/bucket-metadata.go

    	if GlobalKMS == nil {
    		return nil, errKMSNotConfigured
    	}
    	keyID, kmsKey, sealedKey, err := crypto.S3.ParseMetadata(meta)
    	if err != nil {
    		return nil, err
    	}
    	extKey, err := GlobalKMS.Decrypt(context.TODO(), &kms.DecryptRequest{
    		Name:           keyID,
    		Ciphertext:     kmsKey,
    		AssociatedData: kmsContext,
    	})
    	if err != nil {
    		return nil, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top