A lot of services expose APIs where the token basically grants everything the integration can do (read/write/delete across the entire account), making it hard to enforce the principle of least privilege internally when multiple internal services or agents are calling the same API.
In those cases, do you...
Put an API proxy/gateway in front of the third-party API to enforce granular permissions?
Use RBAC/ABAC rules in a proxy layer to filter which endpoints/actions can be called?
Just accept the coarse permissions and risk associated?
Something else?
Would love to hear real architectures people are using in production, especially when the upstream API itself doesn’t support fine-grained scopes.