REST Resource: users.settings.cse.identities

Resource: CseIdentity

The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages.

For administrators managing identities and keypairs for users in their organization, requests require authorization with a service account that has domain-wide delegation authority to impersonate users with the https://www.googleapis.com/auth/gmail.settings.basic scope.

For users managing their own identities and keypairs, requests require hardware key encryption turned on and configured.

JSON representation
 { 
 "emailAddress" 
 : 
 string 
 , 
 // Union field key_pair_configuration 
can be only one of the following: 
 "primaryKeyPairId" 
 : 
 string 
 , 
 "signAndEncryptKeyPairs" 
 : 
 { 
 object (  SignAndEncryptKeyPairs 
 
) 
 } 
 // End of list of possible types for union field key_pair_configuration 
. 
 } 
Fields
emailAddress

string

The email address for the sending identity. The email address must be the primary email address of the authenticated user.

Union field key_pair_configuration .

key_pair_configuration can be only one of the following:

primaryKeyPairId

string

If a key pair is associated, the ID of the key pair, CseKeyPair .

signAndEncryptKeyPairs

object ( SignAndEncryptKeyPairs )

The configuration of a CSE identity that uses different key pairs for signing and encryption.

SignAndEncryptKeyPairs

The configuration of a CSE identity that uses different key pairs for signing and encryption.

JSON representation
 { 
 "signingKeyPairId" 
 : 
 string 
 , 
 "encryptionKeyPairId" 
 : 
 string 
 } 
Fields
signingKeyPairId

string

The ID of the CseKeyPair that signs outgoing mail.

encryptionKeyPairId

string

The ID of the CseKeyPair that encrypts signed outgoing mail.

Methods

create

Creates and configures a client-side encryption identity that's authorized to send mail from the user account.

delete

Deletes a client-side encryption identity.

get

Retrieves a client-side encryption identity configuration.

list

Lists the client-side encrypted identities for an authenticated user.

patch

Associates a different key pair with an existing client-side encryption identity.
Create a Mobile Website
View Site in Mobile | Classic
Share by: