SecretsManger class not found at initialization

Hello,

I deployed Kafka connect cluster on ECS and was hoping to use the plugin for secrets manager.

confluent-hub install confluentinc/csid-secrets-provider-aws:1.0.8

Image:

FROM confluentinc/cp-kafka-connect:7.5.1

I set these as ENV variables in the Dockerfile

ENV CONNECT_CONFIG_PROVIDERS="secretmanager"
ENV CONNECT_CONFIG_PROVIDERS_SECRETMANAGER_CLASS="io.confluent.csid.config.provider.aws.SecretsManagerConfigProvider"

However I get the error when the class is being loaded.

org.apache.kafka.common.config.ConfigException: Invalid value io.confluent.csid.config.provider.aws.SecretsManagerConfigProvider for configuration config.providers.secretmanager.class: Could not load config provider class or one of its dependencies

When I tested it locally it did work correctly.

Not sure what dependency is missing.

Thanks,
Hitesh