Forum Discussion
Vidyak
3 years agoNew Contributor II
SIC Password and API keys are stored in a plain text file
Hi We are evaluating the SIC tool for integration and noticed that API keys and DB passwords are stored unencrypted in plain text files. This is becoming a huge security concern as this way of stor...
- 1 year ago
Hello mithun_laha ,
Can you provide a brief example of what calls you're making in your code? Is it the remote BR that is returning this failure?
- 1 year ago
Hey mithun_laha ,
Did u set up WinSCP to connect to the SFTP server on the client environment where the SFTP server can be accessed remotely on the OS Cloud App?
you might have created a Direct Connection with your SFTP details like port number and host name to access the Smart Integration Connecter page. (System Pane)
u are using the Smart integration function to get stored information like SFTP password, user name, etc.
using the ApiLibrary.GetSmartIntegrationConfigValue("Key as String to get the password value").
and u are using a BRApi.Utilities.ExecRemoteGatewayBusinessRule to retrieve the results.
As per my understanding,A database connection additionally with the Direct connection needs to setup to connect OS Cloud app Client Environment.If you notice and try to compile your smart integration function. it will ask for a database gateway connection to compile your code.
In your
BRApi.Utilities.ExecRemoteGatewayBusinessRule function u need to mention the database connection name as the remotehostname to get details from the direct connection on the remote client environment.
Dim remoteResults As RemoteRequestResultDto = BRApi.Utilities.ExecRemoteGatewayBusinessRule(si,smartintegrationBRName,Nothing,database connection gateway name, function name in Smart integration Function BR name,String.Empty,False,600)
If you have followed these steps and still facing an issue please check by hardcoding the credentials in the WinSCP session in your extensibility rules to check your connection. (I hope u have used the WinSCP.dll in the referenced assemblies). OR if you have issues connecting with the Smart integration function please check the SIC logs.
I am not an expert at this but I have connected to Amazon S3 using a direct connection before. a similar approach should work here.
mithun_laha
1 year agoNew Contributor III
I am not sure if the remote BR is giving issue. I tried print the output of the remote BR but didn't get anything.
Ryan_Berry
OneStream Employee
1 year agoWe have an example posted to connect without a remote business rule using a feature of SIC called direct connect. This works well for SFTP connections and could be employed to simplify the approach -- https://documentation.onestream.com/1375907/Content/SIC/Use%20Smart%20Integration%20Connector.html?Highlight=sic
What occurs when you use this direct connection approach is the gateway acts as a sort of proxy to the internal/protected endpoint making it only accessible by OneStream integrations.
Are you still experiencing issues getting things to work?
- mithun_laha1 year agoNew Contributor III
Hi Ryan,
Its working now. I have to use database connection while using BRApi.Utilities.ExecRemoteGatewayBusinessRule
Thank you,
Mithun
Related Content
- 1 year ago
- 2 years ago
- 2 years ago
- 2 years ago