Deploy the CSE service
Perform the following steps to deploy the Google Workspace CSE service in CryptoHub:Select the Google Workspace CSE (Client-side Encryption) service from the list of available services on the Service Management page.
In the Issuance Policy drop-down menu, leave the External CA option selected because CryptoHub does not issue the certificates Google CSE uses.
Select the Identity Provider Type you want to use (such as Existing, OpenID Connect, VirtuCrypt VIP, or VirtuCrypt Test), and fill in the required fields.
In the Service Account Info box, copy and paste the information from your Google Service Account JSON file. Select [ Deploy ] when finished.
A message displays confirming that the Google Workspace CSE service was successfully deployed.
To modify the Service Account:
In the Service Account Info box, copy and paste the information from your Google Service Account JSON file for your new service account.
Configurations in the Google Admin console
This section covers the Key Access Control List Service (KACLS) and Identity Provider (IdP) configuration steps. KACLS is the external key service (such as CryptoHub) that uses this API to control access to encryption keys stored in an external system. The IdP is the service that authenticates users before they can encrypt files or access encrypted files. This integration uses VirtuCrypt as the IdP for demonstration purposes, but you can use any IdP that supports OAuth.Configure KACLS
Perform the following steps to configure KACLS:Sign in to your Google admin console atadmin.google.com/. Seesupport.google.com/a/answer/182076.
Sign in using an account with super administrator privileges (support.google.com/a/answer/2405986#super\admin).
Enter the URL for your key service (such as
https://<server ip>/v0/key-encrypt/client).Google requires this connection to be TLS, with a publicly trusted certificate. The connection can be through NAT or a reverse proxy.
To confirm that Google Workspace can communicate with the external key service, select [ Test connection ].
Configure IdP
To connect Google Workspace to your IdP, you can use a.well-known file or the Admin console. After establishing the connection, you must allowlist your IdP in the Admin console.
This section demonstrates connecting Google Workspace to your IdP by using the Admin console. However, this method should be a fallback method for the .well-known file method. Refer to the following Google Workspace documentation instructions on connecting Google Workspace to your IdP using a .well-known file:
https://support.google.com/a/answer/10743588#config_wellknown&zippy=%2Coption-to-connectto-your-idp-using-a-well-known-file
Sign in to your Google admin console atadmin.google.com/. Seesupport.google.com/a/answer/182076.
Sign in using an account with super administrator privileges (support.google.com/a/answer/2405986#super\admin).
Enter the details of your IdP:
- In the Name field, specify a descriptive name to help identify your IdP. It displays in IdP messages for users.
- In the Client ID field, specify the OpenID Connect (OIDC) client ID that the CSE client application uses to acquire a JSON Web Token (JWT). If you use a third party IDP: Generate this ID by using your IdP admin console. If you use Google Identity: Generate this ID by using the Google Cloud Platform (GCP) Admin console. For details, go to Create a client ID for Google identity(
/.wellknown/openid-configuration.
If you use Google identity: Use https://accounts.google.com/.well-known/openidconfiguration.Configure your discovery URI to enable origin URLs for Cross-Origin Resource Sharing (CORS) calls, as follows:- Methods: GET
- Allowed origins:
https://admin.google.comhttps://client-side-encryption.google.comhttps://krahsc.google.com/callbackhttps://krahsc.google.com/oidc/cse/callbackhttps://krahsc.google.com/oidc/drive/callbackhttps://krahsc.google.com/oidc/gmail/callbackhttps://krahsc.google.com/oidc/meet/callbackhttps://krahsc.google.com/oidc/calendar/callbackhttps://krahsc.google.com/oidc/docs/callbackhttps://krahsc.google.com/oidc/sheets/callbackhttps://krahsc.google.com/oidc/slides/callbackhttps://client-side-encryption.google.com/callbackhttps://client-side-encryption.google.com/oidc/cse/callbackhttps://client-side-encryption.google.com/oidc/drive/callbackhttps://client-side-encryption.google.com/oidc/gmail/callbackhttps://client-side-encryption.google.com/oidc/meet/callbackhttps://client-side-encryption.google.com/oidc/calendar/callbackhttps://client-side-encryption.google.com/oidc/docs/callbackhttps://client-side-encryption.google.com/oidc/sheets/callbackhttps://client-side-encryption.google.com/oidc/slides/callback
- Select [ Test connection ]. If Google Workspace can connect to your IdP, the Connection success message appears.
- Select Add provider to close the card.

