Enhancement: Support API key for authentication #1
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: nick/753-Data-Sync#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Enhance the 753 Data Sync script to support authentication via API key as an alternative to the current username/password method when generating a token for ArcGIS Online access. This provides a more secure and automation-friendly approach, particularly for service accounts and CI/CD environments.
Proposed Behavior
API_KEYenvironment variable is present in the.envfile, the script should use this key to authenticate with ArcGIS Online.API_KEYis not present, the script should fallback to using the existingUSERNAMEandPASSWORDcredentials.This ensures full backward compatibility while enabling a more secure authentication method.
New Environment Variable
API_KEYBenefits
Acceptance Criteria
API_KEYfield in the.envfile..env.examplewith the new variable and usage notes.Implementation Notes