Skip to main content
Answer

Backblaze Private Key Setup

  • February 4, 2020
  • 3 replies
  • 20 views

Forum|alt.badge.img+3

Hi! We're deploying Backblaze to our users so they can be backed up. They gave me a line to go in a script to set the private key for the users automatically. What's the best way to get this working? The part they gave me was, "/Library/Backblaze.bzpkg/bztransmit -setprivkey none <hexencodedkey>" with the <hexencodedkey> going to be filled in with what we want to use.

Best answer by jamesandre

If that command doesn't have to run as the logged in user then you can create a new policy, configure the "Files and Processes" section of the policy and past that line into the "EXECUTE COMMAND" field.

Then just scope and trigger that policy as desired.

3 replies

jamesandre
Forum|alt.badge.img+7
  • Contributor
  • Answer
  • February 4, 2020

If that command doesn't have to run as the logged in user then you can create a new policy, configure the "Files and Processes" section of the policy and past that line into the "EXECUTE COMMAND" field.

Then just scope and trigger that policy as desired.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • February 4, 2020

Thanks! Do I need the "<" and ">" symbols? I'm assuming I probably do.


jamesandre
Forum|alt.badge.img+7
  • Contributor
  • February 9, 2020

No, you shouldn't need those.