SkyWay Auth Token Generate Decode and Verify
Generate, decode and verify SkyWay Auth Token. when do not specify subcommand, generate token. Note: This command requires the skyway.token.tmpl configuration for generate token. This command cannot append additional scopes to token template configuration yet.
skyway-cli token [flags]
--admin Generate SkyWay Admin Auth Token
--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 token
--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)