I'm looking into Google KMS and the possibility of signing documents digitally and verifying them with Google Cloud. Keys are stored in a HSM (Hardware Security Module) in a managed Google Cloud.
I have been able to successfully do the above but wanted to also use a certificate from Certificate Authority.
However, I'm confused to where this certificate needs to be stored. After buying it, does it need to be inside HSM? (Google KMS does not have any API endpoint for that). Can't find any documentation about these requirements.
Or can it be stored locally and loaded from the filesystem?
Looked at this: PDF document signing with Google KMS and Entrust certificate and it seems it can be loaded from the filesystem (using Entrust certificate).