In the Create EKM via VPC connection wizard, perform the following steps:
- Enter a name for the connection.
- Select a region. It must be in the same region as the VPC network.
- Enter the resource ID (self-link) of the Service Directory service to use with this connection, which you created in the first section of this integration guide. The service must point to your external key manager IP address and must be in the same region as this connection.
- Enter the EKM hostname.
The EKM hostname you enter here should be the same FQDN you used when deploying the CryptoHub Google EKM service (and present in the server cert CN/SAN). This ensures the Google -> CryptoHub call uses the same audience CryptoHub expects.
- Upload the external key manager’s X.509 server certificates in DER format.
- Select Cloud KMS as the EKM management mode and specify a Crypto Space path (such as
gekms/gapi/v0/cryptospaces/0147e96a-8698-0002-0030-e1e51ee48252). - (Optional) Set default. This uses this interface for all keys by using External through VPC connection as default.
- Select [ Create ].

