Utility Commands

The FIMMAS Data Services API has some built-in helper commands. This page explains what each one does, and how to use them.

Encrypt

The encrypt command is useful for when you want to encrypt the passwords in your configuration file. It takes one parameter (the password you want to encrypt), and it prints out the encrypted version as well as the encryption key it used. A new encryption key will be generated each time the encrypt command is returned.

The command will look like this:

data-services-api.exe encrypt mypassword

and the output will look something like this:

    [ENCRYPTED TEXT]: a87446998ac6d16a8cf29d01b739fc1fe352407bc4eea09bbc10306d2ad39c8ea1ea98a0145f
    [KEY]: 0cb5ef84e39fc01b02aa7997468aca9a2bef4b5f97c172a929b6ab678759fceb

Once you have your encrypted password and encryption key, you can refer to the configuration file documentation to see exactly where those values go.