n capabilities to get faster where you need to go.For help answering these questions, you can also use the interactive CLI mode to register Service Connectors and/or consult the documentation dedicated to each individual Service Connector Type.

Auto-configuration

Many Service Connector Types support using auto-configuration to discover and extract configuration information and credentials directly from your local environment. This assumes that you have already installed and set up the local CLI or SDK associated with the type of resource or cloud provider that you're willing to use. The Service Connector auto-configuration feature relies on these CLIs being configured with valid credentials to work properly. Some examples are listed here, but you should consult the documentation section for the Service Connector Type of choice to find out if and how auto-configuration is supported:

AWS uses the aws configure CLI command

GCP offers the gcloud auth application-default login CLI command

Azure provides the az login CLI command

zenml service-connector register kubernetes-auto --type kubernetes --auto-configure

Example Command Output

Successfully registered service connector `kubernetes-auto` with access to the following resources:

┏━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━┓

┃     RESOURCE TYPE     │ RESOURCE NAMES ┃

┠───────────────────────┼────────────────┨

┃ 🌀 kubernetes-cluster │ 35.185.95.223  ┃

┗━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━┛

zenml service-connector register aws-auto --type aws --auto-configure

Example Command Output

⠼ Registering service connector 'aws-auto'...

Successfully registered service connector `aws-auto` with access to the following resources:

┏━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓

┃     RESOURCE TYPE     │ RESOURCE NAMES                               ┃

┠───────────────────────┼──────────────────────────────────────────────┨

┃    🔶 aws-generic     │ us-east-1                                    ┃