acme-provider

Usage: oredge acme-provider ACTION [OPTIONS]

ACTION:
    create
    list
    show
    modify
    delete
    help

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

Create Acme-provider

Usage: oredge acme-provider create [OPTIONS]

OPTIONS:
    --name string                      name.
    --endpoint string                  endpoint.
    --eab-kid string                   eab kid.
    --eab-hmac-key string              eab hmac key.
    --email string                     email.

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

Example

# oredge acme-provider create --name test --endpoint "https://a.com/b" --eab-kid xxxxx --eab-hmac-key xxxxxxxxx --email test@test.com
ID: 1

List Acme-provider

Usage: oredge acme-provider list [OPTIONS]

OPTIONS:
    --page integer                     page, 1(default).
    --page-size integer                page size, 20(default).

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

Example

# oredge acme-provider list
ID    NAME       ENDPOINT           EAB KID    EAB HMAC KEY    EMAIL                    CREATE TIME            MODIFY TIME
1     test       https://a.com/b    xxxxx      xxxxxxxxx       test@test.com            2021-06-01 05:19:13    2021-06-01 05:19:13

Show Acme-provider

Usage: oredge acme-provider show [id] [OPTIONS]

OPTIONS:
    --id integer                       id.

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

Example

# oredge acme-provider show 4
ID          : 4
NAME        : test
ENDPOINT    : https://a.com/b
EAB KID     : xxxxx
EAB HMAC KEY: xxxxxxxxx
EMAIL       : test@test.com
CREATE TIME : 2021-06-01 05:25:15
MODIFY TIME : 2021-06-01 05:25:15

Modify Acme-provider

Usage: oredge acme-provider modify [id] [OPTIONS]

OPTIONS:
    --id integer                       id.
    --name string                      name.
    --endpoint string                  endpoint.
    --eab-kid string                   eab kid.
    --eab-hmac-key string              eab hmac key.
    --email string                     email.

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

Example

# oredge acme-provider modify 4 --name test --eab-kid xxxxx --eab-hmac-key xxxxxxx
OK

Delete Acme-provider

Usage: oredge acme-provider delete [id] [OPTIONS]

OPTIONS:
    --id integer                       id.

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

Example

# oredge acme-provider delete 1
OK