ui: add support for creating/validating keys