Serve SkyWay Auth Token by HTTP Server
Serve SkyWay Auth Token when send GET request to /token.
skyway-cli token serve [flags]
--app-id string SkyWay App ID. This option can also be set by the skyway.app_id configuration or the SKYWAY_APP_ID environment variable.
--expire int Token expire time in seconds. This option can also be set by the skyway.token.expire configuration or the SKYWAY_TOKEN_EXPIRE environment variable. (default 3600)
-h, --help help for serve
-p, --port int HTTP Server Port (default 8080)
--secret-key string SkyWay Secret Key. This option can also be set by the skyway.secret_key configuration or the SKYWAY_SECRET_KEY environment variable.
--tmpl string Token template. This option can also be set by the skyway.token.tmpl configuration or the SKYWAY_TOKEN_TMPL environment variable.
--config string config file (default is $HOME/.skyway-cli.yaml)