Generate a public DSN from a template tag