Managing snap store signature keys

I am in the process of creating my own image of Ubuntu Core. I have read several threads in this forum and a lot of documentation, but I have some questions that I could not find an answer to.

  1. Is there a command to delete local keys that have not yet been uploaded and registered in the store? The only way I found is to delete the key directly from the snap folder, but I do not know if that could have side effects.

  2. Is there a command to revoke a key? I found an old post How to unregister a store signature key on this topic and this bug fix https://bugs.launchpad.net/snapstore-server/+bug/1669471, but nothing very recent or clear.