# Reference for the "Added support for encrypting and decrypting settings fields." feature

**URL:** <https://community.gravityforms.com/t/reference-for-the-added-support-for-encrypting-and-decrypting-settings-fields-feature/18706>\
**Category:** Get Help\
**Tags:** encrypted-fields, encryption\
**Created:** [January 1, 2025, 2:39pm UTC](https://community.gravityforms.com/t/reference-for-the-added-support-for-encrypting-and-decrypting-settings-fields-feature/18706 "2025-01-01T14:39:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![grand\_lady](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@grand\_lady](https://community.gravityforms.com/u/grand_lady)\
**Post date:** [January 1, 2025, 2:39pm UTC](https://community.gravityforms.com/t/reference-for-the-added-support-for-encrypting-and-decrypting-settings-fields-feature/18706/1 "2025-01-01T14:39:23Z")

</div>

I swear I saw a documentation reference to this feature, but I can’t find it now.

I want to manage an external system’s API key as metadata for a Feed Add-On. AFAICT, this settings field management is for at-rest data in case the WP database is hacked.

Related to

> [@Addon's "update\_plugin\_settings" called twice for custom type](https://community.gravityforms.com/t/addons-update-plugin-settings-called-twice-for-custom-type/17734):
>
> I’m trying to encrypt one addon configuration field whose purpose is as an API key. Based on this $field definition: array( 'name' =\> 'apikeyStatus', 'type' =\> 'apikey', 'save\_callback' =\> array($this, 'update\_apikey'), ), I have this function: public function update\_apikey($field, $field\_value) { \<field value duplicate check logic snipped\> if (\GFCommon::current\_user\_can\_uninstall()) …

OAuth will eliminate this as an issue, but not yet.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [January 31, 2025, 2:40pm UTC](https://community.gravityforms.com/t/reference-for-the-added-support-for-encrypting-and-decrypting-settings-fields-feature/18706/2 "2025-01-31T14:40:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
