Skip to content

Commit

Permalink
CORE-18617: Add new parent key alias and created timestamp into the k…
Browse files Browse the repository at this point in the history
…ey rotation status (#1459)

Changes:
- update unmanaged key rotation status schema to also contain new parent key alias and created timestamp so we can print it out on key rotation status request
  • Loading branch information
anien authored Jan 24, 2024
1 parent 47373b2 commit a46b814
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@
"doc": "Defines the key status and key rotation status data.",
"fields": [
{
"name": "rootKeyAlias",
"name": "oldParentKeyAlias",
"type": "string",
"doc": "Alias of an unmanaged key that we are rotating away from."
},
{
"name": "newParentKeyAlias",
"type": ["null", "string"],
"doc": "The wrapping key alias that should be used for material currently wrapped with old key."
},
{
"name": "total",
"type": "int",
Expand All @@ -18,6 +23,14 @@
"name": "rotatedKeys",
"type": ["null", "int"],
"doc": "Number of keys for tenantId that has been rotated. Null in case of key status."
},
{
"name": "createdTimestamp",
"type": {
"type": "long",
"logicalType": "timestamp-millis"
},
"doc": "The date and time the key rotation request was created."
}
]
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cordaProductVersion = 5.2.0
# NOTE: update this each time this module contains a breaking change
## NOTE: currently this is a top level revision, so all API versions will line up, but this could be moved to
## a per module property in which case module versions can change independently.
cordaApiRevision = 31
cordaApiRevision = 32

# Main
kotlin.stdlib.default.dependency = false
Expand Down

0 comments on commit a46b814

Please sign in to comment.