package nosqldb_sdk import ( "C" ) import ( "nosql_db_sdk_ffi/util/ptrproxy" "unsafe" "github.com/oracle/nosql-go-sdk/nosqldb/auth/iam" ) //export ffi_nosqldb_signature_provider_from_file func ffi_nosqldb_signature_provider_from_file(configfilepath, ociprofile, privatekeypassphrase, compartmentID string) NosqldbSignatureProvider { sgpv, _ := iam.NewSignatureProviderFromFile(configfilepath, ociprofile, privatekeypassphrase, compartmentID) return NosqldbSignatureProvider(ptrproxy.Ref(unsafe.Pointer(&sgpv))) }