Token issue command

skupper token issue <file> [options]

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
Waits forReady

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

--timeout

<duration>

Raise an error if the operation does not complete in the given period of time.

Default

60s

PlatformsKubernetes, Docker, Podman, Linux

--expiration-window

<duration>

The period of time in which an access token for this grant can be redeemed.

Default

15m

PlatformsKubernetes, Docker, Podman, Linux

--redemptions-allowed

<integer>

The number of times an access token for this grant can be redeemed.

Default1
PlatformsKubernetes, Docker, Podman, Linux

Global options

Errors