get secret key from environment variable