Skip to main content
Solved

Apply password protection from fme command-line

  • November 8, 2018
  • 1 reply
  • 94 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
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

mark2atsafe
Safer
Forum|alt.badge.img+59
  • 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.