A Generative AI Engineer is ready to deploy an LLM application written using Foundation Model APIs. They want to follow security best practices for production scenarios.
Which authentication method should they choose?
A.
Use OAuth machine-to-machine authentication
B.
Use an access token belonging to service principals
C.
Use an access token belonging to any workspace user
D.
Use a frequently rotated access token belonging to either a workspace user or a service principal
• OAuth machine-to-machine (M2M) is indeed a best-practice authentication mechanism, used widely across cloud platforms (e.g., Azure AD client credentials flow).
• However, as of now, Databricks Foundation Model APIs do not directly support OAuth M2M flows natively.
• They rely on personal access tokens (PATs) or access tokens generated via service principals.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Ryan2025
3 days, 6 hours ago