CLI Reference

See the Configuration section on how to specify parameters for each command.

usage: mc2 [-h]
           {configure,init,launch,start,upload,run,download,stop,teardown} ...

Positional Arguments

command

Possible choices: configure, init, launch, start, upload, run, download, stop, teardown

Command to run.

Sub-commands:

configure

Set the path to your config file

mc2 configure [-h] config_path

Positional Arguments

config_path

Path to MC² config file

init

Optionally generate a symmetric key and keypair

mc2 init [-h]

launch

Launch Azure resources

mc2 launch [-h]

start

Start services using specificed start up commands

mc2 start [-h]

upload

Encrypt and upload data.

mc2 upload [-h]

run

Attest the MC2 deployment and run your script.

mc2 run [-h]

download

Download and decrypt results from your computation.

mc2 download [-h]

stop

Stop previously started service

mc2 stop [-h]

teardown

Teardown Azure resources

mc2 teardown [-h]