To create a new service account in the database, the
CREATE SERVICE ACCOUNT
keywords are used.
CREATE SERVICE ACCOUNT adds a new service account with no permissions to
QuestDB instance. The chosen name must be unique across all users (including the
built-in admin), groups and service accounts.
Note that new service accounts can only access the database if the necessary endpoint permissions have been granted.
It can be verified with: