Property UseSessionToken
UseSessionToken
Gets or sets the value that determines whether to use a session
token.
Declaration
public bool UseSessionToken { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
true to use session token, otherwise false .
The default is false . The true value is exclusive
with Credentials, CredentialsProvider,
UseInstancePrincipal,
UseResourcePrincipal and
UseOKEWorkloadIdentity.
|
Remarks
Because this method uses OCI Configuration File, you may specify
the path to the configuration file and the profile within the
configuration file using one of the
CreateWithSessionToken
methods or properties ConfigFile and
ProfileName. The same defaults apply.