I have this use case: page with signup for a daily email, like a news letter . I ask email address and a stop date. Person who enters these data is NOT made a Member, I don´t want that. Also have no Members Area. I just want to send an email and therefor access Secrets Manager to retrieve email key. But according to docs, this will not work, because a)user is anonymous, thus no access to Editor b)no Members area.
Notes:
By default, site contributors do not have permission to create secrets and view secret values in the Secrets Manager. Contributors who have access to the editor can retrieve a secret's value using code.
To use the Secrets API, you must add a Members Area to your site.
Is mine such a strange use case? Shouldn´t there be some way to use Secrets Man. from backend code with something like “SuppressAuth” or would that make it very insecure?
Anyway, back to storing keys in backend code for now.