View the key in the Unkey dashboard and notice the ownerId has now become populated with the original ownerId.
Expected Behavior
The key will have no ownerId as we removed it previously.
Screenshot/ Video
No response
Additional context
I also noticed that the expires field behaves the same as the ownerId field. I haven't done much research into other fields that may be affected - these we're just the ones I noticed when testing the update key method for the new WIP Rust SDK.
Describe the bug
I have noticed when updating the same key multiple times, the properties of the key are not consistent.
To Reproduce
ownerId
.Verify the
ownerId
is correct in the Unkey dashboard.Send an update key request for the new key and set the
ownerId
tonull
.Verify the
ownerId
is no longer present in the Unkey dashboard.Send another update key request for the new key and set a
name
on the key.ownerId
has now become populated with the originalownerId
.Expected Behavior
The key will have no
ownerId
as we removed it previously.Screenshot/ Video
No response
Additional context
I also noticed that the
expires
field behaves the same as theownerId
field. I haven't done much research into other fields that may be affected - these we're just the ones I noticed when testing the update key method for the new WIP Rust SDK.KEY-102