read secrets from stdin