it should be `secret: key.encryptedSecret`
# general
q
it should be
secret: key.encryptedSecret