package
4.1.0+incompatible
Repository: https://github.com/openshift/origin.git
Documentation: pkg.go.dev

# Functions

NewCmdCreateBasicAuthSecret implements the OpenShift cli secrets new-basicauth subcommand.
NewCmdCreateDockerConfigSecret creates a command object for making a dockercfg secret.
NewCmdCreateSSHAuthSecret implements the OpenShift cli secrets new-sshauth subcommand.
NewCmdLinkSecret creates a command object for linking a secret reference to a service account.
NewCmdUnlinkSecret creates a command object for detaching one or more secret references from a service account.

# Constants

CreateBasicAuthSecretRecommendedCommandName represents name of subcommand for `oc secrets` command.
CreateSSHAuthSecretRecommendedCommandName represents name of subcommand for `oc secrets` command.
LinkSecretRecommendedName `oc secrets link`.
SourceCertificate is the key of the optional certificate authority for basic authentication subcommand.
SourceGitconfig is the key of the optional gitconfig content for both basic and SSH authentication subcommands.
SourcePassword is the key of the optional password or token for basic authentication subcommand.
SourcePrivateKey is the key of the required SSH private key for SSH authentication subcommand.
SourceUsername is the key of the optional username for basic authentication subcommand.

# Variables

# Structs

CreateBasicAuthSecretOptions holds the credential needed to authenticate against SCM servers.
CreateSSHAuthSecretOptions holds the credential needed to authenticate against SCM servers.
SecretOptions Structure holding state for processing secret linking and unlinking.