Set the key using env