New feature: specify the key from STDIN