Hi,
Currently, for my use case, I am using a service principal with Account Admin permissions to call account-level APIs. For workspace-level APIs, I am using a separate service principal with Workspace Admin permissions.
Is there a way to avoid assigning the full Account Admin or Workspace Admin role to these service principals and instead grant only the minimum permissions required for the specific APIs they need to call?
I would also like to ensure that each service principal has access only to the required APIs and operations. For example, the account-level service principal should have only the necessary read/write permissions for the specific account-level APIs it uses, rather than having full Account Admin access.
Similarly, the workspace-level service principal should have only the required permissions for the specific workspace-level APIs.
I am looking for a least-privilege approach for assigning permissions to these service principals.