_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c23800
train
// AddHostSignersToCache takes a list of CAs whom we trust. This list is added to a database // of "seen" CAs. // // Every time we connect to a new host, we'll request its certificaate to be signed by one // of these trusted CAs. // // Why do we trust these CAs? Because we received them from a trusted Teleport Proxy. /...
{ "resource": "" }
c23801
train
// AddKey activates a new signed session key by adding it into the keystore and also // by loading it into the SSH agent
{ "resource": "" }
c23802
train
// DeleteKey removes the key from the key store as well as unloading the key // from the agent.
{ "resource": "" }
c23803
train
// DeleteKeys removes all keys from the keystore as well as unloads keys // from the agent.
{ "resource": "" }
c23804
train
// FSWriteLock grabs Flock-style filesystem lock on an open file // in exclusive mode.
{ "resource": "" }
c23805
train
// FSTryWriteLock tries to grab write lock, returns CompareFailed // if lock is already grabbed
{ "resource": "" }
c23806
train
// FSUnlock unlcocks Flock-style filesystem lock
{ "resource": "" }
c23807
train
// NewRateLimiter returns new request rate controller
{ "resource": "" }
c23808
train
// RegisterRequest increases number of requests for the provided token // Returns error if there are too many requests with the provided token
{ "resource": "" }
c23809
train
// Add rate limiter to the handle
{ "resource": "" }
c23810
train
// EncodeClusterName encodes cluster name in the SNI hostname
{ "resource": "" }
c23811
train
// NewAddrDialer returns new dialer from a list of addresses
{ "resource": "" }
c23812
train
// ClientTimeout sets idle and dial timeouts of the HTTP transport // used by the client.
{ "resource": "" }
c23813
train
// CheckAndSetDefaults checks and sets default config values
{ "resource": "" }
c23814
train
// NewTLSClient returns a new TLS client that uses mutual TLS authentication // and dials the remote server using dialer
{ "resource": "" }
c23815
train
// grpc returns grpc client
{ "resource": "" }
c23816
train
// PutJSON is a generic method that issues http PUT request to the server
{ "resource": "" }
c23817
train
// PostForm is a generic method that issues http POST request to the server
{ "resource": "" }
c23818
train
// Get issues http GET request to the server
{ "resource": "" }
c23819
train
// Delete issues http Delete Request to the server
{ "resource": "" }
c23820
train
// GetSessions returns a list of active sessions in the cluster // as reported by auth server
{ "resource": "" }
c23821
train
// GetSession returns a session by ID
{ "resource": "" }
c23822
train
// DeleteSession deletes a session by ID
{ "resource": "" }
c23823
train
// CreateSession creates new session
{ "resource": "" }
c23824
train
// UpdateSession updates existing session
{ "resource": "" }
c23825
train
// GetDomainName returns local auth domain of the current auth server
{ "resource": "" }
c23826
train
// RotateExternalCertAuthority rotates external certificate authority, // this method is used to update only public keys and certificates of the // the certificate authorities of trusted clusters.
{ "resource": "" }
c23827
train
// GetCertAuthorities returns a list of certificate authorities
{ "resource": "" }
c23828
train
// DeleteCertAuthority deletes cert authority by ID
{ "resource": "" }
c23829
train
// GenerateToken creates a special provisioning token for a new SSH server // that is valid for ttl period seconds. // // This token is used by SSH server to authenticate with Auth server // and get signed certificate and private key from the auth server. // // If token is not supplied, it will be auto generated and re...
{ "resource": "" }
c23830
train
// RegisterUsingToken calls the auth service API to register a new node using a registration token // which was previously issued via GenerateToken.
{ "resource": "" }
c23831
train
// GetTokens returns a list of active invitation tokens for nodes and users
{ "resource": "" }
c23832
train
// GetToken returns provisioning token
{ "resource": "" }
c23833
train
// RegisterNewAuthServer is used to register new auth server with token
{ "resource": "" }
c23834
train
// UpsertNode is used by SSH servers to reprt their presence // to the auth servers in form of hearbeat expiring after ttl period.
{ "resource": "" }
c23835
train
// KeepAliveNode updates node keep alive information
{ "resource": "" }
c23836
train
// recv is necessary to receive errors from the // server, otherwise no errors will be propagated
{ "resource": "" }
c23837
train
// UpsertNodes bulk inserts nodes.
{ "resource": "" }
c23838
train
// DeleteNode deletes node in the namespace by name
{ "resource": "" }
c23839
train
// GetNodes returns the list of servers registered in the cluster.
{ "resource": "" }
c23840
train
// UpsertReverseTunnel is used by admins to create a new reverse tunnel // to the remote proxy to bypass firewall restrictions
{ "resource": "" }
c23841
train
// GetReverseTunnels returns the list of created reverse tunnels
{ "resource": "" }
c23842
train
// DeleteReverseTunnel deletes reverse tunnel by domain name
{ "resource": "" }
c23843
train
// UpsertTunnelConnection upserts tunnel connection
{ "resource": "" }
c23844
train
// CreateRemoteCluster creates remote cluster resource
{ "resource": "" }
c23845
train
// GetAuthServers returns the list of auth servers registered in the cluster.
{ "resource": "" }
c23846
train
// UpsertProxy is used by proxies to report their presence // to other auth servers in form of hearbeat expiring after ttl period.
{ "resource": "" }
c23847
train
// UpsertPassword updates web access password for the user
{ "resource": "" }
c23848
train
// UpsertUser user updates or inserts user entry
{ "resource": "" }
c23849
train
// ChangePassword changes user password
{ "resource": "" }
c23850
train
// CheckPassword checks if the suplied web access password is valid.
{ "resource": "" }
c23851
train
// GetU2FSignRequest generates request for user trying to authenticate with U2F token
{ "resource": "" }
c23852
train
// ExtendWebSession creates a new web session for a user based on another // valid web session
{ "resource": "" }
c23853
train
// GetWebSessionInfo checks if a web sesion is valid, returns session id in case if // it is valid, or error otherwise.
{ "resource": "" }
c23854
train
// DeleteWebSession deletes a web session for this user by id
{ "resource": "" }
c23855
train
// GetUser returns a list of usernames registered in the system
{ "resource": "" }
c23856
train
// GetUsers returns a list of usernames registered in the system
{ "resource": "" }
c23857
train
// DeleteUser deletes a user by username
{ "resource": "" }
c23858
train
// GenerateHostCert takes the public key in the Open SSH ``authorized_keys`` // plain text format, signs it using Host Certificate Authority private key and returns the // resulting certificate.
{ "resource": "" }
c23859
train
// GetSignupTokenData returns token data for a valid token
{ "resource": "" }
c23860
train
// GenerateUserCert takes the public key in the OpenSSH `authorized_keys` plain // text format, signs it using User Certificate Authority signing key and // returns the resulting certificate.
{ "resource": "" }
c23861
train
// GetSignupU2FRegisterRequest generates sign request for user trying to sign up with invite tokenx
{ "resource": "" }
c23862
train
// CreateUserWithOTP creates account with provided token and password. // Account username and OTP key are taken from token data. // Deletes token after account creation.
{ "resource": "" }
c23863
train
// CreateUserWithU2FToken creates user account with provided token and U2F sign response
{ "resource": "" }
c23864
train
// UpsertOIDCConnector updates or creates OIDC connector
{ "resource": "" }
c23865
train
// GetOIDCConnector returns OIDC connector information by id
{ "resource": "" }
c23866
train
// GetOIDCConnector gets OIDC connectors list
{ "resource": "" }
c23867
train
// CreateOIDCAuthRequest creates OIDCAuthRequest
{ "resource": "" }
c23868
train
// CreateOIDCConnector creates SAML connector
{ "resource": "" }
c23869
train
// UpsertSAMLConnector updates or creates OIDC connector
{ "resource": "" }
c23870
train
// GetOIDCConnector returns SAML connector information by id
{ "resource": "" }
c23871
train
// GetSAMLConnectors gets SAML connectors list
{ "resource": "" }
c23872
train
// DeleteSAMLConnector deletes SAML connector by ID
{ "resource": "" }
c23873
train
// CreateSAMLAuthRequest creates SAML AuthnRequest
{ "resource": "" }
c23874
train
// ValidateSAMLResponse validates response returned by SAML identity provider
{ "resource": "" }
c23875
train
// UpsertGithubConnector creates or updates a Github connector
{ "resource": "" }
c23876
train
// GetGithubConnector returns the specified Github connector
{ "resource": "" }
c23877
train
// DeleteGithubConnector deletes the specified Github connector
{ "resource": "" }
c23878
train
// ValidateGithubAuthCallback validates Github auth callback returned from redirect
{ "resource": "" }
c23879
train
// SearchEvents returns events that fit the criteria
{ "resource": "" }
c23880
train
// GetClusterConfig returns cluster level configuration information.
{ "resource": "" }
c23881
train
// SetClusterConfig sets cluster level configuration information.
{ "resource": "" }
c23882
train
// GetClusterName returns a cluster name
{ "resource": "" }
c23883
train
// SetClusterName sets cluster name once, will // return Already Exists error if the name is already set
{ "resource": "" }
c23884
train
// GetStaticTokens returns a list of static register tokens
{ "resource": "" }
c23885
train
// SetStaticTokens sets a list of static register tokens
{ "resource": "" }
c23886
train
// Start will begin execution of the remote subsytem on the passed in channel.
{ "resource": "" }
c23887
train
// Wait until the remote subsystem has finished execution and then return the last error.
{ "resource": "" }
c23888
train
// NewWebSession returns new instance of the web session based on the V2 spec
{ "resource": "" }
c23889
train
// WithoutSecrets returns copy of the object but without secrets
{ "resource": "" }
c23890
train
// GetShortName returns visible short name used in logging
{ "resource": "" }
c23891
train
// SetBearerTokenExpiryTime sets bearer token expiry time
{ "resource": "" }
c23892
train
// SetExpiryTime sets session expiry time
{ "resource": "" }
c23893
train
// GetWebSessionSchemaWithExtensions returns JSON Schema for web session with user-supplied extensions
{ "resource": "" }
c23894
train
// UnmarshalWebSession unmarshals web session from on-disk byte format
{ "resource": "" }
c23895
train
// MarshalWebSession marshals web session into on-disk representation
{ "resource": "" }
c23896
train
// emitSessionJoinEvent emits a session join event to both the Audit Log as // well as sending a "x-teleport-event" global request on the SSH connection.
{ "resource": "" }
c23897
train
// OpenSession either joins an existing session or starts a new session.
{ "resource": "" }
c23898
train
// emitSessionLeaveEvent emits a session leave event to both the Audit Log as // well as sending a "x-teleport-event" global request on the SSH connection.
{ "resource": "" }
c23899
train
// leaveSession removes the given party from this session.
{ "resource": "" }