package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev

# Functions

CopyRefLabels copies the labels from the Ref to the actual credentials so the credentials can be retrieved using the same labels.
GetByPurpose retrieves a credentials based on the provided purpose.
GetGitHubCertAuthorities retrieves the SSH keys for a GitHub integration.
GetIntegrationCertAuthorities attempts to retrieve certificate authorities for provided integration.
GetIntegrationRef is a helper to get the PluginStaticCredentialsRef from the integration.
NewRef creates a new PluginStaticCredentialsRef that is saved along with the integration resource in the backend.
NewRefWithUUID creates a PluginStaticCredentialsRef with provided UUID.

# Constants

LabelStaticCredentialsIntegration is the label used to store the UUID ref in the static credentials.
LabelStaticCredentialsPurpose is the label used to store the purpose of the static credentials.
PurposeGitHubOAuth is the label value that indicates the static credentials contains the GitHub OAuth ID and secret.
PurposeGitHubSSHCA is the label value that indicates the static credentials contains the GitHub SSH CA.

# Interfaces

ByLabelsGetter defines an interface to retrieve credentials by labels.
IntegrationGetter defines an interface to retrieve an integration by name.