- Create an encrypted document in Google Docs
- When you open Google Docs and create a new document, you can trigger encryption through the Google Workspace encryption add-on or integration.
- Authenticate in Okta
- An Okta sign-in screen appears when Google Workspace requires authentication for encryption.
- Okta authenticates you and issues a JWT token after you complete the sign-in (including MFA if configured).
- Google Workspace Communicates with Futurex HSM
- After Okta authenticates you, Google Workspace passes the JWT token to the Futurex HSM, such as CryptoHub.
- The Futurex HSM verifies the JWT token and performs the requested encryption or decryption operations.
Set Up Okta for Google CSE
Perform the following tasks to set up Okta for Google CSE:- Create an Okta application integration.
- Assign Users to the Okta Application.
- Obtain the Okta OpenID configuration URL.
Create an Okta application integration
Perform the following steps to create an Okta application integration:Go to Applications > Applications > Create App integration and configure the following settings:
- Integration Type: select OIDC - OpenID Connect
- Application Type: select Single-Page Application
To configure OIDC Web Integration, configure the following settings:
- Name: Give your application a name (such as
Futurex CSE) - Proof of possession: Leave unchecked
- Grant type: Select the Authorization Code checkbox (leave others unchecked)
To configure URIs, perform the following steps:
- For Sign-in Redirect URIs, enter all the following URIs:
https://workspace.google.com/cse/auth/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
- Leave Sign-out redirect URLs and BaseURI empty
Assign users to the Okta application
Perform the following steps to assign users to the Okta application:Obtain the Okta OpenID configuration URL
Perform the following steps to obtain the Okta OpenID configuration URL:Append
/.well-known/openid-configuration to the Admin homepage URL.For example: https://trial-8715115-admin.okta.com/.well-known/openid-configurationRemove -admin from the URL if you use it in the Google Admin console.
Configure CryptoHub for Okta IdP
To configure the Google CSE service in CryptoHub, configure the following settings:- Auto enrollment: Enable for users authenticated with Okta.
- Set the rotation period for CSE keys.
- Email domain: Enter your organization’s email domain.
- Issuance policy: Select a policy for the public/private key pair (for Gmail users).
- Identity provider type: Select OpenID Connect.
- OpenID Connect URL: Enter your Okta well-known OpenID Connect URL
- For example:
https://trial-8715115.okta.com/.well-known/openid-configuration - Do not include -admin in this URL
- For example:
Configure Google Admin Console
Perform the following steps to configure Google Admin Console:Go to Data > Compliance > Client-side Encryption and add your CryptoHub external key service URL, making it the default key service.
(Optional) Configure Gmail
If you need to use CSE with Gmail, perform the following steps to complete the additional configuration:To create a Service Account in Google Cloud Console, perform the following steps:
- Go to IAM & Admin > Service accounts.
- Create a Service account.
- Generate a key.
- Download the JSON file.

