add 7d local key and config, fix bootstrap