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: doc/src/user_guide/authentication_methods.rst
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -690,20 +690,26 @@ the following table.
690
690
- Description
691
691
- Required or Optional
692
692
* - ``auth_type``
693
-
- The authentication type. The value should be the string "ConfigFileAuthentication", "SimpleAuthentication", or "InstancePrincipal".
693
+
- The authentication type. The value should be the string "ConfigFileAuthentication",
694
+
"InstancePrincipal", "SecurityToken", "SecurityTokenSimple" or "SimpleAuthentication".
694
695
695
696
With Configuration File Authentication, the location of a configuration file containing the necessary information must be provided. By default, this file is located at */home/username/.oci/config*, unless a custom location is specified during OCI IAM setup.
696
697
697
-
With Simple Authentication, the individual configuration parameters can be provided at runtime.
698
-
699
698
With Instance Principal Authentication, OCI compute instances can be authorized to access services on Oracle Cloud such as Oracle Autonomous Database. Python-oracledb applications running on such a compute instance are automatically authenticated, eliminating the need to provide database user credentials. This authentication method will only work on compute instances where internal network endpoints are reachable. See :ref:`instanceprincipalauth`.
700
699
700
+
With Security Token authentication or Session Token-based authentication, the authentication happens using *security_token_file* parameter present in the configuration file. By default, this file is located at */home/username/.oci/config*, unless a custom location is specified during OCI IAM setup. You also need to specify the *profile* which contains the *security_token_file* parameter.
701
+
702
+
With Security Token Simple authentication or Session Token-based Simple authentication, the authentication happens using *security_token_file* parameter. The individual configuration parameters can be provided at runtime.
703
+
704
+
With Simple Authentication, the individual configuration parameters can be provided at runtime.
705
+
701
706
See `OCI SDK Authentication Methods <https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdk_authentication_methods.htm>`__ for more information.
702
707
- Required
703
708
* - ``user``
704
709
- The Oracle Cloud Identifier (OCID) of the user invoking the API. For example, *ocid1.user.oc1..<unique_ID>*.
705
710
706
-
This parameter can be specified when the value of the ``auth_type`` key is "SimpleAuthentication".
711
+
This parameter can be specified when the value of the ``auth_type`` key is "SimpleAuthentication". This is not required when ``auth_type`` is
0 commit comments