EncryptionInfo

ข้อมูลการเข้ารหัสสำหรับข้อมูลที่กำลังส่งผ่านข้อมูล

การแสดง JSON
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "gcpWrappedKeyInfo": {
    object (GcpWrappedKeyInfo)
  },
  "awsWrappedKeyInfo": {
    object (AwsWrappedKeyInfo)
  },
  "coordinatorKeyInfo": {
    object (CoordinatorKeyInfo)
  }
  // End of mutually exclusive fields.
}
ช่อง
คีย์ที่ห่อที่ใช้เข้ารหัสข้อมูล ต่อไปนี้คือรายการฟิลด์ที่แยกกัน ระบบจะตั้งค่าฟิลด์อย่างน้อย 1 รายการในการตอบกลับ
gcpWrappedKeyInfo

object (GcpWrappedKeyInfo)

ข้อมูลคีย์ที่ห่อไว้ของ Google Cloud Platform

awsWrappedKeyInfo

object (AwsWrappedKeyInfo)

ข้อมูลคีย์ที่ห่อหุ้มของ Amazon Web Services

coordinatorKeyInfo

object (CoordinatorKeyInfo)

ข้อมูลสำคัญสำหรับคีย์ผู้ประสานงานที่เลือก

เมธอด IngestEvents, audienceMembers.ingest และ audienceMembers.remove ไม่รองรับการดำเนินการนี้

สิ้นสุดฟิลด์ที่แยกกัน

GcpWrappedKeyInfo

ข้อมูลเกี่ยวกับคีย์ที่ห่อไว้ของ Google Cloud Platform

การแสดง JSON
{
  "keyType": enum (KeyType),
  "wipProvider": string,
  "kekUri": string,
  "encryptedDek": string
}
ช่อง
keyType

enum (KeyType)

ต้องระบุ ประเภทของอัลกอริทึมที่ใช้ในการเข้ารหัสข้อมูล

wipProvider

string

ต้องระบุ ผู้ให้บริการพูล Workload Identity ที่จำเป็นต่อการใช้ KEK

kekUri

string

ต้องระบุ รหัสทรัพยากร Cloud Key Management Service ของ Google Cloud Platform ควรอยู่ในรูปแบบ projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key} หรือ gcp-kms://projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}

encryptedDek

string

ต้องระบุ คีย์การเข้ารหัสข้อมูลที่เข้ารหัสซึ่งเข้ารหัส Base64

KeyType

ประเภทของอัลกอริทึมที่ใช้ในการเข้ารหัสข้อมูล

Enum
KEY_TYPE_UNSPECIFIED ประเภทคีย์ที่ไม่ระบุ ไม่ควรใช้
XCHACHA20_POLY1305 อัลกอริทึม XChaCha20-Poly1305

AwsWrappedKeyInfo

คีย์การเข้ารหัสข้อมูลที่รวมไว้ในคีย์ AWS KMS

การแสดง JSON
{
  "keyType": enum (KeyType),
  "roleArn": string,
  "kekUri": string,
  "encryptedDek": string
}
ช่อง
keyType

enum (KeyType)

ต้องระบุ ประเภทของอัลกอริทึมที่ใช้ในการเข้ารหัสข้อมูล

roleArn

string

ต้องระบุ ชื่อทรัพยากร Amazon ของบทบาท IAM ที่จะใช้สำหรับการเข้าถึงการถอดรหัส KMS ควรอยู่ในรูปแบบ arn:{partition}:iam::{accountId}:role/{role_name}

kekUri

string

ต้องระบุ URI ของคีย์ AWS KMS ที่ใช้เพื่อถอดรหัส DEK ควรอยู่ในรูปแบบ arn:{partition}:kms:{region}:{accountId}:key/{keyId} หรือ aws-kms://arn:{partition}:kms:{region}:{accountId}:key/{keyId}

encryptedDek

string

ต้องระบุ คีย์การเข้ารหัสข้อมูลที่เข้ารหัสซึ่งเข้ารหัส Base64

KeyType

ประเภทของอัลกอริทึมที่ใช้ในการเข้ารหัสข้อมูล

Enum
KEY_TYPE_UNSPECIFIED ประเภทคีย์ที่ไม่ระบุ ไม่ควรใช้
XCHACHA20_POLY1305 อัลกอริทึม XChaCha20-Poly1305

CoordinatorKeyInfo

ข้อมูลเกี่ยวกับคีย์ผู้ประสานงาน

การแสดง JSON
{
  "keyId": string
}
ช่อง
keyId

string

ต้องระบุ รหัสของคีย์ผู้ประสานงานที่เลือก