After you've added one or more external key services to your Admin console for Google Workspace Client-side encryption (CSE), you need to assign them to organizational units or configuration groups. Assigning a key service lets users you've added to your external service's key access control list encrypt and decrypt content.
If you've set up hardware key encryption for Gmail CSE, you need to assign it to organizational units or configuration groups. Requires having the Assured Controls or Assured Controls Plus add-on.
For users who need to encrypt content, you'll also need to turn on CSE. For details, go to Turn client-side encryption on or off.
Before you begin
Make sure you've completed these steps
Make sure you assign a default key service
If you want to use multiple key services for different users
If you want to switch to a new key service
Assign encryption with a key service
Assign the default key service for your organization
-
In the Google Admin console, go to Menu
Data
Compliance
Client-side encryption.
You must be signed in as a super administrator for this task.
- Under Encryption with external key service, click Assign.
- In the left panel, select either All users in this account or the top-level organizational unit.
- Click Key service, and select your key service in the drop-down list.
- Click Save.
Assign a different key service for specific users
If you've added multiple key services to your Admin console, you can select a different key service than the current service assigned to an organizational unit or group.
Important: If content is already encrypted with the current key service, it's best to migrate encrypted content to the new service to ensure existing client-side encrypted content remains accessible. For details, go to Migrate encrypted content to a new key service.
If your organization uses client-side encrypted Google Docs with real-time collaboration (beta), Google Docs doesn't support key service migration for those files during the beta period.
Warning: If you add a new key service to an organizational unit or group that has existing real-time collaboration (beta) files, those existing files become uneditable until full migration support is available at general availability. If you move real-time collaboration (beta) content between organizational units that use different key services, those files also become uneditable. For details, go to Before you start migration.
-
In the Google Admin console, go to Menu
Data
Compliance
Client-side encryption.
You must be signed in as a super administrator for this task.
- Under Encryption with external key service, click Assign.
- In the left panel, select an organizational unit or group for which you want to use a different key service.
- Click Key service, and select the new key service in the drop-down list.
- Click Override to keep your setting if the CSE settings for the parent organizational unit are changed.
- If Overridden is already set for the organizational unit, choose an
option:
- Inherit—Reverts to the same CSE setting as its parent.
- Save—Saves your new CSE setting (even if the parent setting changes).
Migrate encrypted content to a new key service
If you no longer want to use your existing key service to encrypt content for an organizational unit or group, you can add a new service, select the backup service, and migrate the encrypted content to the new service.
Before you start migration
Which services are supported
Currently, you can migrate encrypted content for the following services:
- Google Drive and Docs
- Google Calendar
To switch to another key service for Gmail CSE: You need to use the Gmail API to upload a new S/MIME certificate with keys wrapped by the new key service for each user. For details, go to Gmail only: Configure S/MIME certificates for client-side encryption.
Exception for Google Docs with real-time collaboration (beta)
During the beta period, Google Docs doesn't support key service migration for client-side encrypted files with real-time collaboration (beta). Instead, when you assign a primary key service that has a backup key service, Google Docs encrypts new real-time collaboration (beta) files with both the primary key service and the backup key service. In addition, real-time collaboration (beta) files aren't included in the Admin console migration progress counts during the beta period.
Warning: If you add a new key service to an organizational unit or group that has existing real-time collaboration (beta) files, those existing files become uneditable until full migration support is available at general availability. If you move real-time collaboration (beta) content between organizational units that use different key services, those files also become uneditable. Users can still view read-only files while their original key service stays active, and new real-time collaboration (beta) files remain editable.
To prevent data loss when you turn on migration:
- Keep your current key service active as the backup: Existing real-time collaboration (beta) files don't migrate to the new key service during the beta period. Keep your previous key service active so users can still open and view those files in read-only mode. Don't deprecate your backup key service or deprecate the encryption key in your external key service until real-time collaboration is generally available and those files have completed their migration.
- Keep migration turned on: Even after other Google Drive and Google Calendar items finish migrating, keep migration turned on. When migration stays on, real-time collaboration (beta) files migrate automatically and become editable again once full migration support is available at general availability.
- Wait to remove the backup key service: Don't remove the backup key service while real-time collaboration (beta) files still depend on it. If you remove the backup, Google Docs stops encrypting new files with both key services and can't automatically migrate existing files from that backup key service later.
Google doesn't decrypt content
During migration, Google never decrypts content. The new service unwraps the encryption layer from the previous service and replaces it with a new encryption layer.
There's no impact to users
During migration, users can continue to encrypt or view encrypted content without interruption.
Migration status isn't available
Status of progress and notification of any problems aren't available.
Test migration on a small number of users first
It's best practice to try migration on a small number of users first, before running a full migration on all users' content. Assign the new key to only one organizational unit or group and turn on migration for those users to determine if there are any migration issues.
After the test migration, try encrypting new content with the new key service, and check if you can still access and edit previously encrypted content.
Reduce migration time
To minimize the number of new items encrypted with the current key service, start full migration during off-peak periods.
Step 1: Add the new key service to the Admin console
- If you're currently using only one encryption key service: Add the new key service as the primary and choose the current service as the backup. For details, go to Add an external key service. To maintain access to existing encrypted data, ensure the backup service is configured to accept JSON Web Tokens (JWTs) from the new primary service.
- If any key service you're currently using already has a backup service: Remove the backup from the key service. For details, go to Remove the backup from a key service. Then add the new key service and select the current services as backup.
Important: If you're currently migrating content from the backup you need to remove, wait until migration is complete. Once you remove the backup, any migration stops immediately. For details, go to Step 4: Check if migration is complete.
Step 2: Replace the current key service with the new key service
Step 3: Turn on migration
After you select the new key service for an organizational unit or group, you can turn on migration, if there are any services with previously encrypted content that can be migrated.
Migration time varies depending on how much content was encrypted with the current key service and the new key service's processing speed. It can take from a few hours to several days to go to progress on content migration.
-
In the Google Admin console, go to Menu
Data
Compliance
Client-side encryption.
You must be signed in as a super administrator for this task.
- Under Encryption with external key service, click Assign.
- In the left panel, select select the organizational unit or group for which you want to migration content to a new key service.
- Under Migration, click On.
Note: This option is available only if there are services with previously encrypted content listed under Migration.
- In the confirmation message, check the boxes to confirm that you understand migration can't be undone and that Google Docs with real-time collaboration (beta) won't migrate now. Then click Turn on or Save.
The migration process starts.
Important: Keep your previous key service active and keep migration turned on. If you turn off migration, a confirmation message reminds you that Google Docs with real-time collaboration (beta) didn't migrate. When migration stays turned on, these files migrate automatically and become editable again once full migration support is available at general availability.
Step 4: Check if migration is complete
-
In the Google Admin console, go to Menu
Data
Compliance
Client-side encryption.
You must be signed in as a super administrator for this task.
- Under Encryption with external key service, click Assign.
- In the left panel, select select the organizational unit or group for which you want to migrated encrypted content to a new key service.
- Under Migration, check the number of items encrypted with the previous service (now the backup service).
If there aren't any encrypted items, migration is complete.
Note: Client-side encrypted Google Docs with real-time collaboration (beta) aren't included in the migration item counts during the beta period. The migration table shows a reminder to keep your current key service active and migration turned on because real-time collaboration (beta) files aren't supported for migration yet.
Step 5: (Optional) Remove backup key service
If content migration is complete, and you no longer want to use the backup service, you can remove it from the new key service. For details, go to Remove the backup from a key service.
Important for Google Docs with real-time collaboration (beta): During the beta period, Google Docs encrypts new real-time collaboration (beta) files with both the primary key service and the backup key service instead of migrating existing real-time collaboration (beta) files. Don't remove or deprecate your backup key service until real-time collaboration is generally available and all real-time collaboration (beta) files have completed their migration. This also means you shouldn't deprecate or delete the encryption key in your external key service, which is managed independently of the Admin console.
Assign encryption with hardware keys (Gmail only)
If you set up hardware key encryption for all or some users in your organization to encrypt Gmail, you need to assign it to those users.
If you're also using an encryption key service for Gmail: You can assign hardware key encryption to the same users as the key service; however, those users will encrypt Gmail using either the key service or a hardware key, depending on how you set up their encryption keys for Gmail. For details, go to Gmail only: Configure S/MIME certificates for client-side encryption.
-
In the Google Admin console, go to Menu
Data
Compliance
Client-side encryption.
You must be signed in as a super administrator for this task.
- Under Encryption with hardware keys, click Assign.
- In the left panel, select an organizational unit or group for which you want to use a different key service.
- Click Hardware key encryption, and check the box.
- If you selected a child organizational unit, click Override to keep your setting if the CSE settings for the parent organizational unit are changed.
- If Overridden is already set for the organizational unit, choose an
option:
- Inherit—Reverts to the same CSE setting as its parent.
- Save—Saves your new CSE setting (even if the parent setting changes).