aws / aws/aws-secretsmanager-jdbc

provide option to enforce ssl

Open
#226 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
196
Forks
87
PR merge metrics
No merged PRs in 30d

Description

I am using XML configuration for a database connection pool resource in an Apache Tomcat web server.
To enforce SSL, one way is to append url with requireSSL true option like below

```

```
but since i want to use this library, i have to use the url as secret name and

```

```
I am able to connect with mysql db (Aurora serverless v2).

But can any one help me with how to enforce SSL via this configuration ?

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the XML Resource configuration reaches the AWSSecretsManagerMySQLDriver and how the secret-name URL is handled. Check the driver and DataSourceFactory configuration paths for an existing SSL option; done should be a documented, reproducible way to enforce SSL while connecting through AWS Secrets Manager and MySQL.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java, mysql
Domain
cloud, database, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.