Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/batch-rotate_gen.go

    				err = z.Metadata[za0002].DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Metadata", za0002)
    					return
    				}
    			}
    		case "KMSKeyID":
    			z.KMSKeyID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "KMSKeyID")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  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. internal/crypto/metadata_test.go

    		keyID, kmsKey, sealedKey, err := S3.ParseMetadata(metadata)
    		if err != nil {
    			t.Errorf("Test %d: failed to parse metadata: %v", i, err)
    			continue
    		}
    		if keyID != test.KeyID {
    			t.Errorf("Test %d: Key-ID mismatch: got '%s' - want '%s'", i, keyID, test.KeyID)
    		}
    		if !bytes.Equal(kmsKey, test.SealedDataKey) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 18.7K 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