Class CredentialDetector
java.lang.Object
cloud.kitelang.cli.util.CredentialDetector
Detects available cloud provider credentials on the system.
Used to suggest credentials during project setup.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRepresents a detected credential option. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDetects available AWS profiles from ~/.aws/credentials and ~/.aws/config.Detects available Azure subscriptions from az CLI configuration.static StringDetects the default AWS region from environment or config.Detects available GCP projects from gcloud configuration.
-
Constructor Details
-
CredentialDetector
public CredentialDetector()
-
-
Method Details
-
detectAwsProfiles
Detects available AWS profiles from ~/.aws/credentials and ~/.aws/config. -
detectGcpProjects
Detects available GCP projects from gcloud configuration. -
detectAzureSubscriptions
Detects available Azure subscriptions from az CLI configuration. -
detectDefaultAwsRegion
Detects the default AWS region from environment or config.
-