Configure TLS certificates
Perform the following steps to configure TLS certificates for the Rest API connection pair:Add JWT identity provider
You must configure a JSON Web Token (JWT) to allow Google to authenticate against the KMES by using the Google-generated JWT.Go to Identity Management> Identity Providers, right-click the background, and select Add> Provider> JSON Web Token.
Go to the Info tab of the Identity Provider Editor window, specify a name for the identity provider, and de-select Enforce Dual Factor.
Go to the JWT Options tab and specify
https://accounts.google.com as the issuer. Set leeway and max validity according to your requirements.Go to the JWT Key tab, select JWKS, and specify
https://www.googleapis.com/oauth2/v3/certs in the JWKS URL field. Leave the TLS PKI field blank and select [ OK ]* to save.Right-click the identity provider that you created and select Add> Mechanism> Google External Key Manager.
Go to the Audience tab and specify the hostname of your KMES and the REST API port number (
8081 by default) in the following format: https://<host name>:<port>.Create an identity for the Google Service Account
Perform the following tasks to create an identity for the Google Service Account and grant it the required permissions:Create a new role
In the Role Editor window, name the role
Google Key Management and change the number of logins required to 1. Leave all other fields set as the default values on the Info tab.On the Permissions tab, select the following Cryptographic Operations permissions:
- Sign
- Wrap
- Unwrap
Create an identity
Perform the following steps to create a new identity and assign it to the Google key management role:Go to the Identity Management > Identities menu. Right-click the background and select Add > Client Application to add a new identity.
On the Device Info tab, enter the Google service account email address (for example,
service-54255661635@gcp-sa-ekms.iam.gserviceaccount.com) that you noted in the key creation wizard into the Email field.On the Authentication tab, select [ Add ] to add a new credential. In the Configure Credential window, select Google External Key Manager as the credential type, and then select the provider and mechanism configured in the previous selection. Select [ OK ].

