---
schema_version: "1"
id: 5e1743a8f7b2cf75e3c5cec3c60ce7f342acafe19e5c4b449ac0171e83835d6f
title: TenantSecurityEncryptionPolicy
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_tenantsecurityencryptionpolicy.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_tenantsecurityencryptionpolicy.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 227ebe10bb01e1fe3194466002bb4492794d8e7085c2f953629d239534a1540b
description: Stores tenant encryption policy status. This object is available in API version 58.0 and later.
---
# TenantSecurityEncryptionPolicy

Stores tenant encryption policy status. This object is available in API version 58.0 and later.

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Special Access Rules

This object is read-only.

## Fields

| Field | Details |
| --- | --- |
| Action | 
Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The action taken on the encryption policy within a tenant. Possible values are:

- Added
- Removed
- Updated





 |
| ActionBy | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

This field is reserved for future use.



 |
| ActionDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

When the change to the tenant encryption policy status was made.



 |
| DetailIdentifier | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

Unique identifier for this detail record.



 |
| MetricIdentifier | 

Type

string

Properties

Filter, Group, Sort

Description

The ID of the type of metric that was counted. This field is unique within your organization.



 |
| MetricsType | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The type of encryption policy collected by this metric.



 |
| Name | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The name of the metric for the data collected.



 |
| PolicyName | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The name of the policy.



 |
| PolicyStatus | 

Type

int

Properties

Filter, Group, idLookup, Nillable, Sort

Description

Status of the policy. Possible values are:

- \-1—No license.
- 0—Not Enabled.
- \-1—Enabled





 |
| Tenant | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The ID of the tenant with Shield Encryption.



 |
| TenantName | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The name of the tenant that this record is for.



 |