Backblaze Private Key Setup

mattmghost
New Contributor II

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.

1 ACCEPTED SOLUTION

jamesandre
Contributor

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.

View solution in original post

3 REPLIES 3

jamesandre
Contributor

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.

mattmghost
New Contributor II

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

jamesandre
Contributor

No, you shouldn't need those.