package
0.9.0
Repository: https://github.com/datadog/datadog-agent.git
Documentation: pkg.go.dev

# Functions

CertTemplate create x509 certificate template.
CreateOrFetchToken gets the authentication token from the auth token file & creates one if it doesn't exist Requires that the config has been set up before calling.
CreateOrGetClusterAgentAuthToken load the authentication token from: 1st.
DeleteAuthToken removes auth_token file (test clean up).
FetchAuthToken gets the authentication token from the auth token file & creates one if it doesn't exist Requires that the config has been set up before calling.
GenerateKeyPair create a public/private keypair.
GenerateRootCert generates a root certificate.
GetAuthTokenFilepath returns the path to the auth_token file.
GetClusterAgentAuthToken load the authentication token from: 1st.