Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Path of ExternalConfig.properties file

avinash_16
New Contributor III
New Contributor III

Greetings,

We are importing a JAR File for a custom functionality enhancement which makes some API calls. Rather than hardcoding the encrypted credentials in the JAR itself; I have stored the encrypted credentials in the externalconfig.properties file. The logic to fetch these credentials and decoding it happens within the jar but I need the path of the externalconfig.properties file so that while on execution, the jar would be able to fetch these credentials from the properties file. Kindly respond as soon as possible.

Thank you.

7 REPLIES 7

rushikeshvartak
All-Star
All-Star

Instead of externalconfig.properties use datafiles to store property file path is 

/saviynt_shared/saviynt/Import/Datafiles/

rushikeshvartak_0-1721159207893.png

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Hi @rushikeshvartak . Thanks for the reply but one question, does the .properties extension be accepted by saviynt? If not, do we need to add the extension in the externalconfig.properties file?

accepted. we pushed file from API. else you can use .csv


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Honored Contributor III
Honored Contributor III

Hi @avinash_16 @rushikeshvartak , which method is preferable for encryption and decryption to be used?


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

For a custom jar, AES with CBC or GCM mode is often the best choice for symmetric encryption due to its balance of security and performance. For asymmetric encryption, RSA is widely used and supported.


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Honored Contributor III
Honored Contributor III

@rushikeshvartak , if you can share a sample code used in custom jar .. it will be much appreciated.

Thanks


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

Create new thread 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.