Token issue command

skupper token issue [options]

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

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

--cost

<string>

the configured “expense” of sending traffic over the link. (default “1”)

Default

"1"

PlatformsKubernetes, Docker, Podman, Linux

--expiration-window

<duration>

The period of time in which an access token for this grant can be redeemed. (default 15m0s)

Default

15m0s

PlatformsKubernetes, Docker, Podman, Linux

--help

boolean

help for issue

PlatformsKubernetes, Docker, Podman, Linux

--redemptions-allowed

<int>

The number of times an access token for this grant can be redeemed. (default 1)

Default

1

PlatformsKubernetes, Docker, Podman, Linux

--timeout

<duration>

raise an error if the operation does not complete in the given period of time (expressed in seconds). (default 1m0s) -n, —namespace string Set the namespace -p, —platform string Set the platform type to use [kubernetes, podman, docker, linux] ```

Default

1m0s

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.