extract DOMAIN credentials to constants