Accept and set keys

Signed-off-by: Lars Kiesow <lkiesow@uos.de>