Service Accounts are used for 2 use cases: anonymous access, and computer to computer communications.
For anonymous access, when allowing unauthenticated traffic to your APIs, use a service account of type "public". For example, to enable anonymous access to the Product Catalog, allowing anyone to browse available products without requiring user registration.
For machine-to-machine communication (computer to computer), use a service account of type "secret". For example, when scheduling a cron job to perform automated tasks via the APIs.
In both cases, the service account credentials are not used directly but are exchanged for an access token, which grants access to the APIs. See ServiceAccounts REST API documentation for details.
ServiceAccount Object Attributes
Name
Type
Description
id
String
The unique identifier for ServiceAccount (generated by Objects Grid platform)
secret
String
The ServiceAccount secret (generated by Objects Grid platform)