Method CreateWithOKEWorkloadIdentityAndTokenFile
CreateWithOKEWorkloadIdentityAndTokenFile(String)
Creates a new instance of IAMAuthorizationProvider
using OKE workload identity and specified service account token
file.
Declaration
public static IAMAuthorizationProvider CreateWithOKEWorkloadIdentityAndTokenFile(string serviceAccountTokenFile)
Parameters
Type | Name | Description |
---|---|---|
String | serviceAccountTokenFile | Path to the service account token file. |
Returns
Type | Description |
---|---|
IAMAuthorizationProvider | A new instance of IAMAuthorizationProvider using OKE workload identity and specified service account token file. |
Remarks
For more information see UseOKEWorkloadIdentity.
This method allows you to specify a path to the service account
token file.