Token issue command

Issue a token file redeemable for a link to the current site.

This command first creates an access grant in order to issue the token.

Issuing a token requires a site with link access enabled. The command waits for the site to enter the ready state before producing the token.

PlatformsKubernetes, Docker, Podman, Linux
Waits forReady

Usage

skupper token issue <file> [options]

Examples

# Issue an access token
$ skupper token issue ~/token.yaml
Waiting for status...
Access grant "west-6bfn6" is ready.
Token file /home/fritz/token.yaml created.

Transfer this file to a remote site. At the remote site,
create a link to this site using the 'skupper token
redeem' command:

    $ skupper token redeem <file>

The token expires after 1 use or after 15 minutes.

# Issue an access token with non-default limits
$ skupper token issue ~/token.yaml --expiration-window 24h --redemptions-allowed 3

# Issue a token using an existing access grant
$ skupper token issue ~/token.yaml --grant west-1

Primary options

<file>

string
required

The name of the token file to create.

PlatformsKubernetes, Docker, Podman, Linux

Global options

Errors

  • Link access is not enabled

    Link access at this site is not currently enabled. You can use "skupper site update --enable-link-access" to enable it.