Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7
Report Inappropriate Content
Message 1 of 3

Encryption Key Mass Export


Does anybody know how I can use the API to do an automated export of machine recovery keys based on a list of machines or report even?

We have a considerable number of machines which haven't been seen in the console for many months but I want to export their XML keys as a precaution before I mass delete.

Any help would be greatly appreciated.



2 Replies
Level 7
Report Inappropriate Content
Message 2 of 3

Re: Encryption Key Mass Export

Hello timbob78,

here the command which you have to use:

wget -q -O <filenameincluding the systemname>.xml --no-check-certificate --user=<username> --password=<password> "https://<servername>:8443/remote/eeadmin.exportMachineKey?machineName=<system name as variable>"

You have to put the right values between every <>.

Put the command into a loop. By using a variable which takes the system names one by one you can export the keys.

Instead of using   eeadmin.exportMachineKey?machineName=<system name as variable>   you also can use     eeadmin.exportMachineKey?machineName=<system name as variable>&oldKeys=True"

to export all keys corresponding to one system.

The information is taken from document "ee_620_scripting_guide_en-us.pdf" and "ePO_Web_API_Scripting_Guide_en-us.pdf"



Re: Encryption Key Mass Export

Hi do you have any exact value what shall we put to export all systems recovery key at once.

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community