I have a workspace in FME that reads data from a PostGIS database and updates a Feature Service in ArcGIS Online (AGOL). Since the PostGIS data is updated frequently, I use the ChangeDetector transformer to update only the modified features instead of overwriting the entire dataset (to avoid the "413 Request Entity Too Large"
error).
Currently, each time I run the workspace, I need to enter my AGOL credentials. I want a solution where anyone in my organization can run the workspace, even if the Feature Service is not in their My Content.
What are the best ways to handle authentication in FME for AGOL updates?
- Is there a way to store credentials securely for automation?
- Can I use API keys or OAuth2 authentication?
- How do I allow others to update the Feature Service without adding it to their My Content?