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 Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Result of credential validation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the provider type this validator handles (aws, gcp, azure).
    boolean
    Checks 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.