refactor: extract addKey.sh.