Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for encryptBucketMetadata (0.1 sec)

  1. cmd/bucket-metadata.go

    	// early return if no targets or already encrypted
    	if len(b.BucketTargetsConfigJSON) == 0 || GlobalKMS == nil || len(b.BucketTargetsConfigMetaJSON) != 0 {
    		return nil
    	}
    
    	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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. cmd/bucket-metadata-sys.go

    	case bucketReplicationConfig:
    		meta.ReplicationConfigXML = configData
    		meta.ReplicationConfigUpdatedAt = updatedAt
    	case bucketTargetsFile:
    		meta.BucketTargetsConfigJSON, meta.BucketTargetsConfigMetaJSON, err = encryptBucketMetadata(ctx, meta.Name, configData, kms.Context{
    			bucket:            meta.Name,
    			bucketTargetsFile: bucketTargetsFile,
    		})
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top