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.
Platforms Kubernetes, Docker --timeout string (duration)
Raise an error if the operation does not complete in the given period of time.
Default 60s
Platforms Kubernetes, Docker --expiration-window string (duration)
The period of time in which an access token for this grant can be redeemed.
Default 15m
Platforms Kubernetes, Docker --redemptions-allowed integer
The number of times an access token for this grant can be redeemed.
Default 1 Platforms Kubernetes, Docker --namespace string
Set the namespace.
Platforms Kubernetes, Docker See also Namespace concept, Kubernetes namespaces --context string
Set the kubeconfig context.
Platforms Kubernetes See also Kubernetes kubeconfigs --kubeconfig string
Set the path to the kubeconfig file.
Platforms Kubernetes See also Kubernetes kubeconfigs --platform string
Set the Skupper platform.
Choices kubernetes
Kubernetes
docker
Docker or Podman
Platforms Kubernetes, Docker See also Platform concept --help
Display help and exit.
Platforms Kubernetes, 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.