There is now a secrets API for automation scripts.
Why do we not have the same API available in script extensions? I have an API server that I use to interact with an Airtable base, and I want some of my script extensions to use protected endpoints that require an API key header to access. In my automations I can store this API key in the new secrets API, but in script extensions I have to hard code the key (terrible practice) in the script extension in order to access the endpoints. And I can’t use an external API to manage/store/retrieve secrets because then I just have the same issue with another server—to retrieve those secrets I would need to hit an authenticated endpoint using some other secret.
I’m just confused why, now that this secrets API has been added to automation scripting, it hasn’t been extended to script extensions.
