Sha256: 45dd3e5a4b9c81d859d46955ffef393c44acc658480b9d830a042fcca7517385

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

# ServerToken

Returns the server json web token to be used for login operations (ex: accessing the server console).

```text
knife ionoscloud server token (options)
```

## Available options:

### Required options:

* datacenter\_id
* server\_id
* ionoscloud\_username
* ionoscloud\_password

```text
    extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
        path to the additional config file

    datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
        the ID of the Datacenter. (required)

    server_id: --server-id SERVER_ID, -S SERVER_ID
        the ID of the Server. (required)

    ionoscloud_username: --username USERNAME, -u USERNAME
        your Ionoscloud username (required)

    ionoscloud_password: --password PASSWORD, -p PASSWORD
        your Ionoscloud password (required)

    ionoscloud_url: --url URL
        the Ionoscloud API URL

```
## Example

```text
knife ionoscloud server token --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --server-id SERVER_ID --username USERNAME --password PASSWORD --url URL
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
knife-ionoscloud-6.1.1 docs/subcommands/compute-engine/server_token.md
knife-ionoscloud-6.1.0 docs/subcommands/compute-engine/server_token.md
knife-ionoscloud-6.0.0 docs/subcommands/server_token.md