# Functions
BuildJsonWebKeySet builds JSON web key set from the public key.
CountNonDirectoryFiles counts files which are not a directory.
CreateClusterAuthentication creates the authentication manifest file for the installer.
No description provided by the author
No description provided by the author
CreateShellScript creates a shell script given commands to execute.
EnsureDir ensures that directory exists at a given path.
GetListOfCredentialsRequests decodes manifests in a given directory and returns a list of CredentialsRequests.
KeyIDFromPublicKey derives a key ID non-reversibly from a public key reference: https://github.com/kubernetes/kubernetes/blob/0f140bf1eeaf63c155f5eba1db8db9b5d52d5467/pkg/serviceaccount/jwt.go#L89-L111.
NewCreateKeyPairCmd provides the "create-key-pair" subcommand.
No description provided by the author
# Constants
DiscoveryDocumentTemplate is a template of the discovery document that needs to be populated with appropriate values.
DiscoveryDocumentURI is a URI for the OpenID configuration discovery document.
KeysURI is a URI for public key that enables client to validate a JSON Web Token issued by the Identity Provider.
ManifestsDirName is the name of the directory to save installer manifests created by ccoctl.
OidcTokenPath is the path where oidc token is stored in the pod.
PrivateKeyFile is the name of the private key file created by "ccoctl create key-pair" command.
PublicKeyFile is the name of the public key file created by "ccoctl create key-pair" command.
TLSDirName is the name of the directory to save bound service account signing key created by ccoctl.
# Variables
CreateKeyPairOpts captures the options that affect creation of the key pair.
# Structs
No description provided by the author