On This page
On Related Pages
The selected root page could not be found.
Templated Configuration
We use a configuration system to help us enforce isolation between our service stacks, our daemon stacks, dev vs. prod, etc...
The build when running as dev has everything it needs to be configured correctly.
If you need to make your own local override file, you'll need to add a property similar to the following to your .m2/settings.xml
file:
<org.sagebionetworks.stack.configuration.url>file:///Users/deflaux/Config/devdeflaux.properties</org.sagebionetworks.stack.configuration.url>
Get an encryption key
Recommended For your local stack, you can use the encryption key from sodo sodo:/work/platform/PasswordsAndCredentials/StackCredentials/devEncryptionKey.txt
Power Users Only Or make your own. The only requirement for the encryption key is that it is at least 24 characters long.
- For Mac/Linux: You can generate a key with OpenSSL
openssl genrsa -- or -- openssl enc -aes-128-cbc -k <key password> -P -md sha1
- For Windows Users: KeePass http://keepass.info/ create and store my keys using the 'generate key'->'128 bit Hex Key' option.
- To use your key to encrypt stuff
cd lib/stackConfiguration mvn exec:java -Dexec.mainClass="org.sagebionetworks.StringEncrypter" -Dexec.args="<database_password> <your_encryption_key>"