From ea860b5446f45693afa5b1b6215b5237f0477d13 Mon Sep 17 00:00:00 2001 From: Dickon Reed Date: Fri, 3 Nov 2023 11:13:03 +0000 Subject: [PATCH] add target key aliases --- .../wire/ops/key/rotation/IndividualKeyRotationRequest.avsc | 5 +++++ .../wire/ops/key/rotation/IndividualKeyRotationResponse.avsc | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/data/avro-schema/src/main/resources/avro/net/corda/data/crypto/wire/ops/key/rotation/IndividualKeyRotationRequest.avsc b/data/avro-schema/src/main/resources/avro/net/corda/data/crypto/wire/ops/key/rotation/IndividualKeyRotationRequest.avsc index 4d2c8f51d8..acedc16c2c 100644 --- a/data/avro-schema/src/main/resources/avro/net/corda/data/crypto/wire/ops/key/rotation/IndividualKeyRotationRequest.avsc +++ b/data/avro-schema/src/main/resources/avro/net/corda/data/crypto/wire/ops/key/rotation/IndividualKeyRotationRequest.avsc @@ -23,6 +23,11 @@ "name": "newKeyAlias", "type": "string", "doc": "The new wrapping key which oldKeyAlias' content will be re-wrapped with." + }, + { + "name": "targetKeyAlias", + "type": "string", + "doc": "Specifies the wrapped key to rotate" } ] } diff --git a/data/avro-schema/src/main/resources/avro/net/corda/data/crypto/wire/ops/key/rotation/IndividualKeyRotationResponse.avsc b/data/avro-schema/src/main/resources/avro/net/corda/data/crypto/wire/ops/key/rotation/IndividualKeyRotationResponse.avsc index 74617b9cd9..9bbcfb5554 100644 --- a/data/avro-schema/src/main/resources/avro/net/corda/data/crypto/wire/ops/key/rotation/IndividualKeyRotationResponse.avsc +++ b/data/avro-schema/src/main/resources/avro/net/corda/data/crypto/wire/ops/key/rotation/IndividualKeyRotationResponse.avsc @@ -24,6 +24,11 @@ "type": "string", "doc": "The new wrapping key which oldKeyAlias' content has been re-wrapped with." }, + { + "name": "targetKeyAlias", + "type": "string", + "doc": "Specifies the wrapped key to rotate" + }, { "name": "endOperationTimestamp", "type": {