Deploy the Google Workspace 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.
Modify the Issuance Policy
Perform the following steps to modify the Issuance Policy:Modify the Service Account
Perform the following steps 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
The following sections cover configuring these elements:- Key Access Control List Service (KACLS) is your external key service (such as CryptoHub) that uses this API to control access to encryption keys stored in an external system.
- Identity Provider (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 identity provider (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 describes connecting Google Workspace to your IdP by using the Admin console. However, this method is meant to 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
Perform the following steps to connect your IdP to Google Workspace:
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.
Enter the details of your IdP:
- In the Name field, specify a descriptive name for your IdP that displays in IdP messages for users.
- In the Client ID field, you must specify the OpenID Connect (OIDC) client ID that the CSE client application uses to acquire a JSON Web Token (JWT). If you’re using a third-party IDP: You generate this ID by using your IdP admin console. If you’re using Google Identity: You 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’re using Google identity: Use https://accounts.google.com/.well-known/openidconfigurationNote Configure your discovery URI to allow 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

