Command-line Interface

scapy
Commnadline Interface to manage step ca.
scapy [OPTIONS] COMMAND [ARGS]...
Options
- -c, --completion
Install completion for the current shell.
deploy
Deploy a cloudflare worker to publish CA Certificate.
scapy deploy [OPTIONS]
Options
- -t, --token <token>
Cloudflare API Token to access workers
- -w, --worker <worker>
Name of the worker
- -j, --js <js>
Worker file location
- -n, --name <name>
CA Server’s Name
- -f, --fingerprint <fingerprint>
Root CA Certificate’s fingerprint
- -u, --ca-url <ca_url>
CA Server’s URL
- -r, --root <root>
CA Root Certificate file in PEM or DER format
Environment variables
- CF_TOKEN
Provide a default for
-t
- WORKER
Provide a default for
-w
- WORKER_FILE
Provide a default for
-j
- CA_NAME
Provide a default for
-n
- FINGERPRINT
Provide a default for
-f
- CA_URL
Provide a default for
-u
- ROOT_CERT
Provide a default for
-r
gen
Scapy Generator Command.
scapy gen [OPTIONS] COMMAND [ARGS]...
passwords
Generate root, intermediate and provisioner passwords.
scapy gen passwords [OPTIONS]
Options
- -r, --root <root>
Root password file. Ignored if –directory option is given.
- -i, --intermediate <intermediate>
Intermediate password file. Ignored if –directory option is given.
- -p, --provisioner <provisioner>
Provisioner password file. Ignored if –directory option is given.
- -d, --directory <directory>
Directory to store passwords
worker
Generate basic cloudflare worker file.
scapy gen worker [OPTIONS]
Options
- -f, --file <file>
Worker file location
get
Download command module.
scapy get [OPTIONS] COMMAND [ARGS]...
step
Download Step CA packages.
scapy get step [OPTIONS] {ca|cli|all}
Options
- -t, --tag <tag>
Tag verison to download
- -p, --path-only
Show only downloaded path
Arguments
- PACKAGE
Required argument
path
Scapy path command.
scapy path [OPTIONS] COMMAND [ARGS]...
cert
Sub command to get different certificate files.
scapy path cert [OPTIONS] COMMAND [ARGS]...
intermediate
Path to Intermediate CA certificate file.
scapy path cert intermediate [OPTIONS]
root
Path to Root CA certificate file.
scapy path cert root [OPTIONS]
certs
Path to the certificate directory.
scapy path certs [OPTIONS]
config
Sub command to get config paths.
scapy path config [OPTIONS] COMMAND [ARGS]...
ca
Path to the ca.json.
scapy path config ca [OPTIONS]
default
Path to the default.json.
scapy path config default [OPTIONS]
key
Sub command to get different private key files.
scapy path key [OPTIONS] COMMAND [ARGS]...
intermediate
Path to Intermediate CA private key file.
scapy path key intermediate [OPTIONS]
root
Path to Root CA private key file.
scapy path key root [OPTIONS]
password
Sub command to get different password files.
scapy path password [OPTIONS] COMMAND [ARGS]...
intermediate
Path to Intermediate CA password file.
scapy path password intermediate [OPTIONS]
provisioner
Path to Provisioner password file.
scapy path password provisioner [OPTIONS]
root
Path to Root CA password file.
scapy path password root [OPTIONS]
passwords
Path to the passwords directory.
scapy path passwords [OPTIONS]
secrets
Path to the secrets directory.
scapy path secrets [OPTIONS]