Fortinet white logo
Fortinet white logo

CLI Reference

execute cloud-service

execute cloud-service

cloud-service

This topic includes the following commands:

execute cloud-service gen-jwt-as-token

Generate a JSON Web Token from config to be used as bearer token.

execute cloud-service gen-jwt-as-token <string>

Parameter

Description

Type

Size

<string>

Cloud service name.

string

execute cloud-service list

List cloud service information.

execute cloud-service list <string>

Parameter

Description

Type

Size

<string>

Cloud service name.

string

execute cloud-service manual-gen-jwt-as-token

Manually generate a JSON Web Token to be used as bearer token.

execute cloud-service manual-gen-jwt-as-token <string> <string> <string> <string> <integer> <integer>

Parameter

Description

Type

Size

<string>

keyid.

string

<string>

private key in clear text, consider quoting everything in `"`, as `\n` needs to be transcoded as a real new line.

string

<string>

issuer.

string

<string>

subject.

string

<integer>

token in effective starting from (epoch seconds).

string

<integer>

token lifetime (seconds).

string

execute cloud-service

execute cloud-service

cloud-service

This topic includes the following commands:

execute cloud-service gen-jwt-as-token

Generate a JSON Web Token from config to be used as bearer token.

execute cloud-service gen-jwt-as-token <string>

Parameter

Description

Type

Size

<string>

Cloud service name.

string

execute cloud-service list

List cloud service information.

execute cloud-service list <string>

Parameter

Description

Type

Size

<string>

Cloud service name.

string

execute cloud-service manual-gen-jwt-as-token

Manually generate a JSON Web Token to be used as bearer token.

execute cloud-service manual-gen-jwt-as-token <string> <string> <string> <string> <integer> <integer>

Parameter

Description

Type

Size

<string>

keyid.

string

<string>

private key in clear text, consider quoting everything in `"`, as `\n` needs to be transcoded as a real new line.

string

<string>

issuer.

string

<string>

subject.

string

<integer>

token in effective starting from (epoch seconds).

string

<integer>

token lifetime (seconds).

string