Property ServiceAccountTokenFile
ServiceAccountTokenFile
Gets or sets the service account token file path.
Declaration
public string ServiceAccountTokenFile { get; set; }
Property Value
Type | Description |
---|---|
String |
The service account token file path (absolute or relative to the
current directory). Defaults to
/var/run/secrets/kubernetes.io/serviceaccount/token .
|
Remarks
This property is only used with OKE workload identity. Use this property to provide a path to service account token file. Service account token will be reloaded from this file when obtaining IAM security token.
You may also use this property in JSON configuration file (see examples). This property is exclusive with using service account token string or service account token provider with Oracle.NoSQL.SDK.IAMAuthorizationProvider.CreateWithOKEWorkloadIdentity. Alternative to this property, you may also create IAMAuthorizationProvider instance via CreateWithOKEWorkloadIdentityAndTokenFile(String)