Interface CredentialValidator
- All Known Implementing Classes:
AwsCredentialValidator, AzureCredentialValidator, GcpCredentialValidator
public interface CredentialValidator
Validates cloud provider credentials.
Each implementation validates credentials for a specific cloud provider
by calling the provider's CLI tool (aws, gcloud, az).
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordResult of credential validation. -
Method Summary
Modifier and TypeMethodDescriptionReturns the provider type this validator handles (aws, gcp, azure).booleanChecks if the required CLI tool is installed.validate(cloud.kitelang.engine.kitefile.Dependencies.Credential credential) Validates the given credential.
-
Method Details
-
validate
CredentialValidator.ValidationResult validate(cloud.kitelang.engine.kitefile.Dependencies.Credential credential) Validates the given credential.- Parameters:
credential- the credential to validate- Returns:
- validation result with success status and details
-
getProviderType
String getProviderType()Returns the provider type this validator handles (aws, gcp, azure). -
isCliAvailable
boolean isCliAvailable()Checks if the required CLI tool is installed.
-