---
date: 2025-03-11T17:39:01+00:00
modified: 2025-03-11T17:39:01+00:00
permalink: https://kaspars.net/note/mastodon-social-114145489148026770
post_type: note
author:
  name: Kaspars
  avatar: https://reverse.kaspars.net/gravatar/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?s=96&d=mm&r=g
---

# On March 11, 2025 at 19:39

Here is a good example of such an API in the AI Services plugin by Felix Arntz [https://github.com/felixarntz/ai-services/blob/main/includes/Services/Options/Option\_Encrypter.php](https://github.com/felixarntz/ai-services/blob/main/includes/Services/Options/Option_Encrypter.php)

One major challange is how to store the secrets without asking users to modify files on the server to add the private keys as constants.