h an AWS Secret Key and an IAM role to be assumed:AWS_PROFILE=zenml zenml service-connector register aws-iam-role --type aws --auto-configure

Example Command Output

⠸ Registering service connector 'aws-iam-role'...

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

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

┃     RESOURCE TYPE     │ RESOURCE NAMES                               ┃

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

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

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

┃     📦 s3-bucket      │ s3://zenfiles                                ┃

┃                       │ s3://zenml-demos                             ┃

┃                       │ s3://zenml-generative-chat                   ┃

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

┃ 🌀 kubernetes-cluster │ zenhacks-cluster                             ┃

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

┃  🐳 docker-registry   │ 715803424590.dkr.ecr.us-east-1.amazonaws.com ┃

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

The Service Connector configuration shows an IAM role and long-lived credentials:

zenml service-connector describe aws-iam-role

Example Command Output

Service connector 'aws-iam-role' of type 'aws' with id '8e499202-57fd-478e-9d2f-323d76d8d211' is owned by user 'default' and is 'private'.

'aws-iam-role' aws Service Connector Details

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

┃ PROPERTY         │ VALUE                                                                   ┃

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

┃ ID               │ 2b99de14-6241-4194-9608-b9d478e1bcfc                                    ┃