Edmund signs in as an application with read-only permission. It never writes to SharePoint and never acts on behalf of a person.
The Microsoft Entra tenant that owns the app registration.
From the app registration in Microsoft Entra ID.
The client secret value from Entra, not its ID.
The document library Edmund reads from.