AccessToken resource¶
A short-lived credential used to create a link. An access token contains the URL and secret code of a corresponding access grant.
Note: Access tokens are often issued and redeemed using the Skupper CLI.
Metadata properties¶
name
string
required
The name of the resource.
| See also | Kubernetes object names |
|---|
namespace
string
The namespace of the resource.
| See also | Platform concept, Kubernetes namespaces |
|---|
Spec properties¶
url
string
required
The URL of the grant service at the remote site.
code
string
required
The secret code used to authenticate the token when
submitted for redemption.
ca
string
The trusted server certificate of the grant service at the
remote site.
linkCost
integer
The link cost to use when creating the link.
| Default | 1 |
|---|
settings
object
advanced
A map containing additional settings. Each map entry has a
string name and a string value.
**Note:** In general, we recommend not changing settings from
their default values.
Status properties¶
redeemed
boolean
True if the token has been redeemed. Once a token is
redeemed, it cannot be used again.
| Default | False |
|---|
status
string
The current state of the resource.
- `Pending`: The resource is being processed.
- `Error`: There was an error processing the resource. See
`message` for more information.
- `Ready`: The resource is ready to use.
message
string
A human-readable status message. Error messages are reported
here.
conditions
array
advanced
A set of named conditions describing the current state of the
resource.
- `Redeemed`: The token has been exchanged for a link.
| See also | Kubernetes conditions |
|---|