Salesforce

ai license generate

« Go Back
Information
ai license generate
000005830
Public
Product Selection
aiWare - aiWare
Article Details

Generate a new JWT token. The expiration time may be an integer, in which case it is the number of days ("90" means expires 90 days from now). You may also specify an expiration date like 2024-12-31 which is the date the license will expire on.

```
ai license generate <path-to-private-key> <claims-file-json> <expiration-date-or-days> [flags]
```

Options

```
-h, --help help for generate
```

Options inherited from parent commands

```
-c, --config string CLI Config file to use. By default it will be /home/ubuntu/.config/aiware-cli.yaml
--controller-token string Bearer token to use for authenticating operations.
--controller-url string Controller URL to use for the CLI. If specified, this will be used instead of what is in the configuration. (default "http://localhost:9000/edge/v1")
-d, --debug Enables debug output
-f, --format string The output format. The values are text, log or json.
--host-type-id string Host type ID of the host
--hub-url string aiWARE Hub URL
-p, --profile string The profile to use. If not specified, the profile named 'default' will be used. The profiles are set in ~/.config/aiware-cli.yaml (default "default")
-q, --quiet Disables output extra output except the main output
--sample-app Indicates whether it should install the sample app
```
Additional Technical Documentation Information
Properties
9/16/2024 11:13 PM
9/16/2024 11:13 PM
9/16/2024 11:13 PM
Documentation
Documentation
000005830
Translation Information
English

Powered by