The upload commands are now a subcommand, i.e. pocs network upload image.
See pocs network upload --help for details.
Added a pocs network get-key commands for getting a service account key. The command will prompt for a password, which must be obtained from a team member. If correct password is given, generates a service account key and downloads it to ~/keys by default (use --save-dir to change), setting proper permissions. Also updates the config server (if it is running) to set observations.upload_image = True.
Consistent use of config entries for uploading images.
image
tonetwork
.pocs network upload image
.pocs network upload --help
for details.pocs network get-key
commands for getting a service account key. The command will prompt for a password, which must be obtained from a team member. If correct password is given, generates a service account key and downloads it to~/keys
by default (use--save-dir
to change), setting proper permissions. Also updates the config server (if it is running) to setobservations.upload_image = True
.