Skip to main content
Solved

Apply password protection from fme command-line

  • November 8, 2018
  • 1 reply
  • 32 views

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.

Best answer by mark2atsafe

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.

View original
Did this help you find an answer to your question?

1 reply

mark2atsafe
Safer
Forum|alt.badge.img+44
  • Safer
  • Best Answer
  • November 8, 2018

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings