Skip to main content

I've read about the encryption of FME files (see this topic).

I would like to know if it's possible to encrypt FME files (especially *.fmw) with a password from the fme command-line.

 

 

I tried to run:
fme PROTECT ./in_clear.fmw ./out_encrypted.fmw

but i didn't find any password parameter and no prompt either.

 

Use case: batch fmw encryption of a set of workspaces after development work and to deploy.

So apparently that command will encode/encrypt the contents of a file (open it in a text editor and you would see) but it won't add a password. I guess that's why it's really meant only for mapping files (a text-only precursor to workspaces).

We do have an enhancement request for this batch password capability. It's reference number is FMEDESKTOP-4304. I don't know if this is planned for the near future, but I have added a link to this page and increased the priority as much as I can.

Unfortunately I don't see any other way to do this as a batch process. Not unless it's exposed in the FME Objects API, but I don't see it and I'd be very surprised if it were.


Reply