package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Functions
CreateEnrolledDevice converts a FakeDevice into a [*devicepb.Device] whose EnrollStatus is DEVICE_ENROLL_STATUS_ENROLLED and Id set to deviceID.
MustNew creates a new E or panics.
New creates a new E.
No description provided by the author
No description provided by the author
No description provided by the author
NewSelfSignedSSHCert returns a self-signed SSH certificate in authorized-keys format, intended to be used as the user SSH certificate in authn tests.
WithAutoCreateDevice instructs EnrollDevice to automatically create the requested device, if it wasn't previously registered.
WithPreEnrolledDevice registers a device with the service without having to enroll it.
# Constants
FakeEnrollmentToken is a "free", never spent enrollment token.
# Structs
CreateDeviceWebTokenParams are the parameters for [CreateDeviceWebTokenForTesting].
E is an integrated test environment for device trust.
No description provided by the author
FakeMacOSDevice fakes the native methods of a macOS device, as expected by the devicetrust packages.
FakeTPMDevice allows us to exercise EnrollCeremony.
# Interfaces
FakeDevice is implemented by the platform-native fakes and is used in tests for device authentication and enrollment.
# Type aliases
Opt is a creation option for [E].