Insert

Insert (upload) the given S/MIME config for the specified send-as alias

9 variables
7 variables

Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Manage your basic mail settings
  • Manage your sensitive mail settings, including who can manage your mail

Input

This building block consumes 9 input parameters

  = Parameter name
  = Format

userId STRING Required

The user's email address. The special value me can be used to indicate the authenticated user

sendAsEmail STRING Required

The email address that appears in the "From:" header for mail sent using this alias

encryptedKeyPassword STRING

Encrypted key password, when key is encrypted

expiration INTEGER

When the certificate expires (in milliseconds since epoch)

id STRING

The immutable ID for the SmimeInfo

isDefault BOOLEAN

Whether this SmimeInfo is the default one for this user's send-as address

issuerCn STRING

The S/MIME certificate issuer's common name

pem STRING

PEM formatted X509 concatenated certificate string (standard base64 encoding). Format used for returning key, which includes public key as well as certificate chain (not private key)

pkcs12 BINARY

PKCS#12 format containing a single private/public key pair and certificate chain. This format is only accepted from client for creating a new SmimeInfo and is never returned, because the private key is not intended to be exported. PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set appropriately

Output

This building block provides 7 output parameters

  = Parameter name
  = Format

encryptedKeyPassword STRING

Encrypted key password, when key is encrypted

expiration INTEGER

When the certificate expires (in milliseconds since epoch)

id STRING

The immutable ID for the SmimeInfo

isDefault BOOLEAN

Whether this SmimeInfo is the default one for this user's send-as address

issuerCn STRING

The S/MIME certificate issuer's common name

pem STRING

PEM formatted X509 concatenated certificate string (standard base64 encoding). Format used for returning key, which includes public key as well as certificate chain (not private key)

pkcs12 BINARY

PKCS#12 format containing a single private/public key pair and certificate chain. This format is only accepted from client for creating a new SmimeInfo and is never returned, because the private key is not intended to be exported. PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set appropriately