AccessGrant resource

Permission to redeem access tokens for links to the local site. A remote site can use a token containing the grant URL and secret code to obtain a certificate signed by the grant's certificate authority (CA), within a certain expiration window and for a limited number of redemptions.

The code, url, and ca properties of the resource status are used to generate access tokens from the grant.

Metadata properties

name

string
required

The name of the resource.

See alsoKubernetes object names

namespace

string

The namespace of the resource.

See alsoPlatform concept, Kubernetes namespaces, System namespaces

Spec properties

redemptionsAllowed

integer

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

Default1

expirationWindow

string (duration)

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

Default

15m

Status properties

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.
See alsoResource status

message

string

A human-readable status message. Error messages are reported here.

See alsoResource status

redemptions

integer

The number of times a token for this grant has been redeemed.

expirationTime

string (date-time)

The point in time when the grant expires.

url

string

The URL of the token-redemption service for this grant.

ca

string

The trusted server certificate of the token-redemption service for this grant.

code

string

The secret code used to authenticate access tokens submitted for redemption.

Default

Generated