Token issue command

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

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

Usage

skupper token issue <file> [options]

Output

Waiting for status...
Grant "<name>" is ready.
Token file <file> 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.

Examples

# Issue an access token
skupper token issue ~/token.yaml

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

Options

  • file string, required

    The name of the token file to create.

    PlatformsKubernetes, Docker
  • --timeout string (duration)

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

    Default

    60s

    PlatformsKubernetes, Docker
  • --expiration-window string (duration)

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

    Default

    15m

    PlatformsKubernetes, Docker
  • --redemptions-allowed integer

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

    Default1
    PlatformsKubernetes, Docker
  • --namespace string

    Set the namespace.

    PlatformsKubernetes, Docker
    See alsoNamespace concept, Kubernetes namespaces
  • --context string

    Set the kubeconfig context.

    PlatformsKubernetes
    See alsoKubernetes kubeconfigs
  • --kubeconfig string

    Set the path to the kubeconfig file.

    PlatformsKubernetes
    See alsoKubernetes kubeconfigs
  • --platform string

    Set the Skupper platform.

    Choices
    kubernetes

    Kubernetes

    docker

    Docker or Podman

    PlatformsKubernetes, Docker
    See alsoPlatform concept
  • --help

    Display help and exit.

    PlatformsKubernetes, Docker

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.