Integrate AWS Secrets Manager into Laravel for MySQL and Redis
Budget: $30 – $100 USD
I need code for Laravel 7 that integrates AWS Secrets Manager that can be used to pull plaintext secrets containing JSON objects with full connection details in this format:
{
"engine": "mysql",
"DB_HOST": "foo",
"DB_PORT": "3306",
"DB_USERNAME": "bar",
"DB_PASSWORD": "baz",
"DB_DATABASE": "mydb"
}
and a similar format for Redis 6 with RBAC:
{
"engine": "redis",
"REDIS_HOST": "foo",
"REDIS_PORT": "6379",
"REDIS_USERNAME": "bar",
"REDIS_PASSWORD": "baz"
}
{
"engine": "mysql",
"DB_HOST": "foo",
"DB_PORT": "3306",
"DB_USERNAME": "bar",
"DB_PASSWORD": "baz",
"DB_DATABASE": "mydb"
}
and a similar format for Redis 6 with RBAC:
{
"engine": "redis",
"REDIS_HOST": "foo",
"REDIS_PORT": "6379",
"REDIS_USERNAME": "bar",
"REDIS_PASSWORD": "baz"
}