Documentation ¶
Index ¶
Constants ¶
View Source
const ( EksacloudStackCloudConfigB64SecretKey = "EKSA_CLOUDSTACK_B64ENCODED_SECRET" CloudStackCloudConfigB64SecretKey = "CLOUDSTACK_B64ENCODED_SECRET" EksaCloudStackHostPathToMount = "EKSA_CLOUDSTACK_HOST_PATHS_TO_MOUNT" CloudStackGlobalAZ = "global" APIKeyKey = "api-key" SecretKeyKey = "secret-key" APIUrlKey = "api-url" VerifySslKey = "verify-ssl" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudStackExecConfig ¶
type CloudStackExecConfig struct {
Profiles []CloudStackProfileConfig
}
func ParseCloudStackCredsFromEnv ¶ added in v0.13.0
func ParseCloudStackCredsFromEnv() (*CloudStackExecConfig, error)
ParseCloudStackCredsFromEnv parses the input b64 string into the ini object to extract out the api key, secret key, and url.
func ParseCloudStackCredsFromSecrets ¶ added in v0.13.0
func ParseCloudStackCredsFromSecrets(secrets []apiv1.Secret) (*CloudStackExecConfig, error)
ParseCloudStackCredsFromSecrets parses a list of secrets to extract out the api keys, secret keys, and urls.
Click to show internal directories.
Click to hide internal directories.