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.
Grant
2 years agoNew Contributor
Our client is wanting to use a Windows Service account for SQL database access in which case relying on SQL integrated security will be the only option. For the integrated security to work though does the Service account have to be logged into the SIC Local Gateway server or can you just run the OneStream SIC service as the Service user?
Ryan_Berry
OneStream Employee
2 years agoYou can simply run the windows service under an appropriate active directory user account and any connection to a relational database with a connection string using integrated or trusted security.
Here's an example sql server connection string you would use after setting up the service to run under a specific user
Server=myServerAddress;Database=myDataBase;Trusted_Connection=True
This is a supported approach to authenticating to data sources with sic.
Related Content
- 1 year ago
- 2 years ago
- 2 years ago
- 2 years ago