create key while enabling the db