Support authentication and fqdn as key