[Feat] Allow AWS SECRETS MANAGER instead of storing AES Encrypted in db (#3616)

* AWS Secrets

* AWS Secrets support

* add examples

* remove test compose

* fix lint

* update aws secret manager implementation

* update secret manager client

* update comments

---------

Co-authored-by: Henry <hzj94@hotmail.com>
This commit is contained in:
Lucas Mohallem Ferraz
2025-01-08 14:24:57 -06:00
committed by GitHub
parent c2c1ca9162
commit 1ae78c2739
10 changed files with 1393 additions and 271 deletions
@@ -1,30 +1,30 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="225.000000pt" height="225.000000pt" viewBox="0 0 225.000000 225.000000"
preserveAspectRatio="xMidYMid meet">
<g transform="translate(0.000000,225.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M1527 1893 c-18 -39 -22 -66 -22 -143 0 -125 30 -194 118 -276 l61
-56 -13 -47 c-7 -25 -17 -50 -22 -56 -21 -22 -123 49 -264 185 -78 74 -164
151 -192 170 -75 50 -91 96 -53 150 11 16 29 32 40 35 24 8 26 30 4 39 -43 16
-140 5 -239 -28 -101 -34 -104 -35 -231 -29 -147 7 -261 -11 -351 -53 -233
-110 -377 -369 -360 -644 23 -365 263 -673 617 -792 92 -31 100 -32 265 -32
133 0 184 3 235 18 83 23 174 66 232 110 l45 35 49 -16 c69 -21 247 -22 297 0
31 13 37 21 37 46 0 26 -6 32 -54 54 -30 14 -71 31 -93 38 -68 23 -68 26 -5
98 32 36 73 87 91 113 86 127 155 330 168 489 l6 77 56 11 c107 21 209 99 256
196 33 68 54 188 36 209 -19 23 -34 20 -67 -15 -41 -44 -99 -68 -164 -69 -57
0 -125 -25 -149 -53 -19 -23 -28 -21 -35 7 -10 39 -55 85 -110 113 -70 35 -93
58 -111 114 -22 66 -48 67 -78 2z m-1139 -549 c180 -37 351 -133 478 -266 38
-40 114 -138 169 -217 103 -148 211 -273 284 -326 22 -16 41 -34 41 -39 0 -13
-148 1 -199 19 -24 8 -83 44 -130 79 -139 104 -217 149 -259 150 -33 1 -37 -2
-40 -26 -2 -14 8 -49 22 -77 30 -58 26 -77 -19 -90 -88 -24 -196 30 -336 169
-84 84 -101 107 -147 200 -59 121 -89 222 -98 330 -5 58 -3 78 7 87 31 25 124
28 227 7z m920 -73 c65 -33 178 -175 184 -231 6 -48 -88 -67 -148 -29 -45 27
-54 47 -54 113 0 63 -22 96 -64 96 -36 0 -56 10 -56 29 0 44 73 55 138 22z
m-78 -106 c10 -12 10 -18 0 -30 -25 -30 -61 -7 -46 30 3 8 12 15 19 15 8 0 20
-7 27 -15z"/>
</g>
</svg>
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="225.000000pt" height="225.000000pt" viewBox="0 0 225.000000 225.000000"
preserveAspectRatio="xMidYMid meet">
<g transform="translate(0.000000,225.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M1527 1893 c-18 -39 -22 -66 -22 -143 0 -125 30 -194 118 -276 l61
-56 -13 -47 c-7 -25 -17 -50 -22 -56 -21 -22 -123 49 -264 185 -78 74 -164
151 -192 170 -75 50 -91 96 -53 150 11 16 29 32 40 35 24 8 26 30 4 39 -43 16
-140 5 -239 -28 -101 -34 -104 -35 -231 -29 -147 7 -261 -11 -351 -53 -233
-110 -377 -369 -360 -644 23 -365 263 -673 617 -792 92 -31 100 -32 265 -32
133 0 184 3 235 18 83 23 174 66 232 110 l45 35 49 -16 c69 -21 247 -22 297 0
31 13 37 21 37 46 0 26 -6 32 -54 54 -30 14 -71 31 -93 38 -68 23 -68 26 -5
98 32 36 73 87 91 113 86 127 155 330 168 489 l6 77 56 11 c107 21 209 99 256
196 33 68 54 188 36 209 -19 23 -34 20 -67 -15 -41 -44 -99 -68 -164 -69 -57
0 -125 -25 -149 -53 -19 -23 -28 -21 -35 7 -10 39 -55 85 -110 113 -70 35 -93
58 -111 114 -22 66 -48 67 -78 2z m-1139 -549 c180 -37 351 -133 478 -266 38
-40 114 -138 169 -217 103 -148 211 -273 284 -326 22 -16 41 -34 41 -39 0 -13
-148 1 -199 19 -24 8 -83 44 -130 79 -139 104 -217 149 -259 150 -33 1 -37 -2
-40 -26 -2 -14 8 -49 22 -77 30 -58 26 -77 -19 -90 -88 -24 -196 30 -336 169
-84 84 -101 107 -147 200 -59 121 -89 222 -98 330 -5 58 -3 78 7 87 31 25 124
28 227 7z m920 -73 c65 -33 178 -175 184 -231 6 -48 -88 -67 -148 -29 -45 27
-54 47 -54 113 0 63 -22 96 -64 96 -36 0 -56 10 -56 29 0 44 73 55 138 22z
m-78 -106 c10 -12 10 -18 0 -30 -25 -30 -61 -7 -46 30 3 8 12 15 19 15 8 0 20
-7 27 -15z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB