Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token struct {
// contains filtered or unexported fields
}
Token defines a one time use token that is intended to be exchanged for a newly provisioned certificate by an end entity. Token differs from BootstrapToken because it does not self contain networking information for connecting to the certificate authority or gatewayconsole.
Token implements the Token interface.
func New ¶
New returns a new unsigned One-Time-Token for authorizing a single request from a newly provisioned end-entity. The current implementation uses jwt.Token and is generated using sane defaults for the claims. See token/options.go for default claim definitions.
Source Files
¶
- provision.go
Click to show internal directories.
Click to hide internal directories.