┃ region   │ us-east-1 ┃

┗━━━━━━━━━━┷━━━━━━━━━━━┛Verifying access to resources (note the AWS_PROFILE environment points to the same AWS CLI profile used during registration, but may yield different results with a different profile, which is why this method is not suitable for reproducible results):

AWS_PROFILE=connectors zenml service-connector verify aws-implicit --resource-type s3-bucket

Example Command Output

⠸ Verifying service connector 'aws-implicit'...

Service connector 'aws-implicit' is correctly configured with valid credentials and has access to the following resources:

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

┃ RESOURCE TYPE │ RESOURCE NAMES                        ┃

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

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

┃               │ s3://zenml-demos                      ┃

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

┃               │ s3://zenml-public-datasets            ┃

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

zenml service-connector verify aws-implicit --resource-type s3-bucket

Example Command Output

⠸ Verifying service connector 'aws-implicit'...

Service connector 'aws-implicit' is correctly configured with valid credentials and has access to the following resources:

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

┃ RESOURCE TYPE │ RESOURCE NAMES                                 ┃

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

┃ 📦 s3-bucket  │ s3://sagemaker-studio-907999144431-m11qlsdyqr8 ┃

┃               │ s3://sagemaker-studio-d8a14tvjsmb              ┃

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

Depending on the environment, clients are issued either temporary STS tokens or long-lived credentials, which is a reason why this method isn't well suited for production:

AWS_PROFILE=zenml zenml service-connector describe aws-implicit --resource-type s3-bucket --resource-id zenfiles --client