# Functions

DecodePEMBytes decodes the PEM encoded bytes into a slice of PEM blocks.
FindCACertificate reads the CA certificate from a file and returns a slice of x509.Certificate.
LoadCACertificates loads the custom CA certificates from a file.
MergeConfigFromFile merges the configuration from a file into the existing Config.
NewBasicAuthAuthenticatorBuilder creates a new instance of CommandAuthConfigBasic.
NewConfig creates a new Config configuration.
NewConfigProviderAzureKeyVault creates a new instance of ConfigProviderAzureKeyVault.
NewOAuthAuthenticatorBuilder creates a new CommandConfigOauth instance.
ReadConfigFromJSON reads a Config configuration from a JSON file.
ReadConfigFromYAML reads a Config configuration from a YAML file.
ReadServerFromJSON reads a Server configuration from a JSON file.
ReadServerFromYAML reads a Server configuration from a YAML file.
No description provided by the author
WriteConfigToJSON writes a Config configuration to a JSON file.
WriteConfigToYAML writes a Config configuration to a YAML file.
WriteServerToJSON writes a Server configuration to a JSON file.
WriteServerToYAML writes a Server configuration to a YAML file.

# Constants

DefaultAPIClientName is the default client name for Keyfactor Command API.
DefaultAPIVersion is the default version for Keyfactor Command API.
DefaultClientTimeout is the default timeout for the http Client.
DefaultCommandAPIPath is the default path for Keyfactor Command API.
DefaultCommandPort is the default port for Keyfactor Command API.
DefaultConfigFilePath is the default path for the configuration file.
DefaultConfigProfile is the default profile for the configuration file.
Default HTTP protocol.
DefaultKeyfactorAuthPort is the default port for Keyfactor authentication.
DefaultProductVersion is the default product version for Keyfactor Command API.
DefaultTokenPrefix is the default token prefix for Keyfactor authentication headers.
EnvAuthCACert is a path to a CA certificate for the OAuth Client credentials authentication.
No description provided by the author
No description provided by the author
EnvKeyfactorAccessToken is the environment variable used to set the access token for oauth Client credentials authentication.
EnvKeyfactorAPIPath is the environment variable for the Keyfactor Command API path.
EnvKeyfactorAuthAudience is the environment variable used to set the audience for oauth Client credentialsauthentication.
EnvKeyfactorAuthProfile is the environment variable for the profile of the configuration file.
EnvKeyfactorAuthProvider is the environment variable for the authentication provider to be used for Keyfactor Command API.
EnvKeyfactorAuthScopes is the environment variable used to set the scopes for oauth Client credentials authentication.
EnvKeyfactorAuthTokenURL EnvCommandTokenURL is the environment variable used to set the token URL for oauth Client credentials authentication.
EnvKeyfactorCACert is the environment variable for the CA certificate to be used for TLS verification when communicating with Keyfactor Command API.
EnvKeyfactorClientID is the environment variable used to set the Client ID for oauth Client credentials authentication.
EnvKeyfactorClientSecret is the environment variable used to set the Client secret for oauth Client credentials authentication.
EnvKeyfactorClientTimeout is the environment variable for the timeout for the http Client.
EnvKeyfactorConfigFile is the environment variable for the configuration file to reference for connecting to the Keyfactor Command API.
EnvKeyfactorDomain is the environment variable for the Keyfactor domain.
EnvKeyfactorHostName is the environment variable for the Keyfactor Command hostname.
EnvKeyfactorPassword is the environment variable for the Keyfactor password.
EnvKeyfactorPort is the environment variable for the Keyfactor Command http(s) port.
EnvKeyfactorSkipVerify is the environment variable for skipping TLS verification when communicating with Keyfactor Command.
EnvKeyfactorUsername is the environment variable for the Keyfactor hostname.

# Variables

DefaultScopes is the default scopes for Keyfactor authentication.

# Structs

AuthProvider represents the authentication provider configuration.
BasicAuthAuthenticator is an Authenticator that uses Basic Auth for authentication.
CommandAuthConfig represents the base configuration needed for authentication to Keyfactor Command API.
CommandAuthConfigBasic represents the base configuration needed for authentication to Keyfactor Command API.
CommandConfigOauth represents the configuration needed for authentication to Keyfactor Command API using OAuth2.
Config represents the overall configuration structure.
ConfigProviderAzureKeyVault is an Authenticator that uses Azure Key Vault for authentication.
OAuthAuthenticator is an Authenticator that uses OAuth2 for authentication.
Server represents the server configuration for authentication.

# Interfaces

Authenticator is an interface for authentication to Keyfactor Command API.