You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/user_guide/configuration/authentication.rst
+1
Original file line number
Diff line number
Diff line change
@@ -78,3 +78,4 @@ In the this example, the default authentication uses API keys specified with the
78
78
set_auth("api_key") # default signer is set to api_key
79
79
os_auth = authutil.resource_principal() # use resource principal to as the preferred way to access object store
80
80
81
+
``AuthContext`` context class can also be used to specify the desired type of authentication. It supports API key configuration, resource principal, and instance principal authentication, as well as predefined signers, callable signers, or API keys configurations from specified locations. See `API Documentation <../../ads.common.html#ads.common.auth.AuthContext>`__ for more details.
0 commit comments