---
title: "What are the differences between the two types of objects we can use to store sensitive information, OPAQUE and SECRET?"
slug: "what-are-the-differences-between-the-two-types-of-objects-we-can-use-to-store-sensitive-information-opaque-and-secret"
updated: 2024-05-30T15:39:38Z
published: 2024-05-30T15:39:38Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.fortanix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# What are the differences between the two types of objects we can use to store sensitive information, OPAQUE and SECRET?

The difference between an Opaque object and a Secret object is as follows:

- When you do a GET on an Opaque object, you get its value along with metadata. For all other types, the value is not returned.
- You can get the value of the Secret object by calling Export API which will also generate an audit log. By default, all Secret objects are exportable.

To store sensitive Information, a Secret object is recommended.

## Related

- [Is there an option to expire a security object at a specific date or after a certain time period?](/is-there-an-option-to-expire-a-security-object-at-a-specific-date-or-after-a-certain-time-period.md)
- [Installation on VMware](/fortanix-data-security-manager-installation-on-vmware.md)
- [Security Objects Tokenization](/fortanix-dsm-security-objects-tokenization.md)
