Why not?
Just needs to stored keys separated by a newline symbol in $KEY.