Compare commits
3 Commits
daniel/rus
...
fix/confir
Author | SHA1 | Date | |
---|---|---|---|
|
d4bdf04061 | ||
|
4dcb3938e0 | ||
|
f992535812 |
@@ -2270,7 +2270,6 @@
|
||||
"sdks/languages/java",
|
||||
"sdks/languages/csharp",
|
||||
"sdks/languages/cpp",
|
||||
"sdks/languages/rust",
|
||||
"sdks/languages/go",
|
||||
"sdks/languages/ruby"
|
||||
]
|
||||
|
@@ -13,12 +13,9 @@ Prerequisites:
|
||||
|
||||
Follow the instructions for your language use the SDK for it:
|
||||
|
||||
- [Node.js SDK](https://infisical.com/docs/sdks/languages/node)
|
||||
- [Node SDK](https://infisical.com/docs/sdks/languages/node)
|
||||
- [Python SDK](https://infisical.com/docs/sdks/languages/python)
|
||||
- [Java SDK](https://infisical.com/docs/sdks/languages/java)
|
||||
- [.NET SDK](https://infisical.com/docs/sdks/languages/csharp)
|
||||
- [Go SDK](https://infisical.com/docs/sdks/languages/go)
|
||||
- [C++ SDK](https://infisical.com/docs/sdks/languages/cpp)
|
||||
- [Ruby SDK](https://infisical.com/docs/sdks/languages/ruby)
|
||||
|
||||
Missing a language? [Throw in a request here](https://github.com/Infisical/infisical/issues).
|
||||
|
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="256px" height="288px" viewBox="0 0 256 288" version="1.1" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid">
|
||||
<title>C++</title>
|
||||
<g>
|
||||
<path d="M255.986979,84.5904965 C255.984975,79.7525971 254.950286,75.4776168 252.857869,71.8086261 C250.802513,68.2007351 247.724488,65.1767975 243.595746,62.7858936 C209.515099,43.1348071 175.401398,23.5438187 141.331768,3.87269944 C132.146771,-1.42995881 123.24123,-1.23664316 114.124344,4.14213939 C100.559194,12.142202 32.6433004,51.0527356 12.4052555,62.7748756 C4.0706466,67.5997538 0.0150245322,74.9838106 0.0130212613,84.5814817 C0,124.10101 0.0130212613,163.619536 0,203.140066 C0,207.871792 0.992620764,212.063636 2.99288682,215.677537 C5.04924447,219.394606 8.17034063,222.50168 12.3942375,224.946672 C32.633284,236.668812 100.558193,275.576341 114.120337,283.578406 C123.24123,288.960194 132.146771,289.152508 141.334773,283.847846 C175.405404,264.175725 209.521109,244.585739 243.606764,224.934652 C247.830661,222.490662 250.951757,219.381585 253.008115,215.667521 C255.005376,212.05362 256,207.861775 256,203.129048 C256,203.129048 256,124.111026 255.986979,84.5904965" fill="#649AD2"></path>
|
||||
<path d="M128.391639,143.475645 L2.99288682,215.677537 C5.04924447,219.394606 8.17034063,222.50168 12.3942375,224.946672 C32.633284,236.668812 100.558193,275.576341 114.120337,283.578406 C123.24123,288.960194 132.146771,289.152508 141.334773,283.847846 C175.405404,264.175725 209.521109,244.585739 243.606764,224.934652 C247.830661,222.490662 250.951757,219.381585 253.008115,215.667521 L128.391639,143.475645" fill="#004482"></path>
|
||||
<path d="M91.2499941,164.862566 C98.5469086,177.601366 112.264307,186.193395 128,186.193395 C143.832852,186.193395 157.628378,177.492188 164.888232,164.617165 L128.391639,143.475645 L91.2499941,164.862566" fill="#1A4674"></path>
|
||||
<path d="M255.986979,84.5904965 C255.984975,79.7525971 254.950286,75.4776168 252.857869,71.8086261 L128.391639,143.475645 L253.008115,215.667521 C255.005376,212.05362 255.997997,207.861775 256,203.129048 C256,203.129048 256,124.111026 255.986979,84.5904965" fill="#01589C"></path>
|
||||
<path d="M249.13479,148.636071 L239.39689,148.636071 L239.39689,158.375974 L229.656987,158.375974 L229.656987,148.636071 L219.920088,148.636071 L219.920088,138.899172 L229.656987,138.899172 L229.656987,129.161272 L239.39689,129.161272 L239.39689,138.899172 L249.13479,138.899172 L249.13479,148.636071 Z M128,58.8474629 C159.134857,58.8474629 186.357629,75.5874614 201.169171,100.555682 L201.614198,101.314804 L164.612782,122.621594 C157.279808,110.013007 143.634528,101.528152 128,101.528152 C104.620826,101.528152 85.6668779,120.481099 85.6668779,143.860273 C85.6668779,151.505757 87.7052062,158.672458 91.2499941,164.862566 C98.5469086,177.601366 112.264307,186.193395 128,186.193395 C143.658865,186.193395 157.324933,177.682372 164.646534,165.040098 L164.888232,164.617165 L201.834558,186.023117 C187.185639,211.619912 159.606608,228.874085 128,228.874085 C96.4514872,228.874085 68.9155261,211.689025 54.2455728,186.167352 C47.0838791,173.708009 42.9861884,159.263423 42.9861884,143.860273 C42.9861884,96.9096113 81.0473351,58.8474629 128,58.8474629 Z M203.864873,129.161272 L203.864873,138.899172 L213.601772,138.899172 L213.601772,148.636071 L203.864873,148.636071 L203.864873,158.375974 L194.126973,158.375974 L194.126973,148.636071 L184.389073,148.636071 L184.389073,138.899172 L194.126973,138.899172 L194.126973,129.161272 L203.864873,129.161272 Z" fill="#FFFFFF"></path>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 3.5 KiB |
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="256px" height="256px" viewBox="0 0 256 256" version="1.1" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid">
|
||||
<title>.NET</title>
|
||||
<g>
|
||||
<rect fill="#512BD4" x="0" y="0" width="256" height="256"></rect>
|
||||
<path d="M45.6273965,163.555368 C43.8173193,163.555368 42.2787368,162.952421 41.0116491,161.745965 C39.7445614,160.508632 39.1110175,159.039439 39.1110175,157.338386 C39.1110175,155.605895 39.7445614,154.121544 41.0116491,152.884211 C42.2787368,151.646877 43.8173193,151.028211 45.6273965,151.028211 C47.4676772,151.028211 49.0213614,151.646877 50.2884491,152.884211 C51.5856842,154.121544 52.2343298,155.605895 52.2343298,157.338386 C52.2343298,159.039439 51.5856842,160.508632 50.2884491,161.745965 C49.0213614,162.952421 47.4676772,163.555368 45.6273965,163.555368 Z M117.988491,162.534737 L106.222596,162.534737 L75.2247018,113.631439 C74.4404211,112.394105 73.7914386,111.110175 73.2788772,109.780211 L73.0071579,109.780211 L73.0538292,110.08649 L73.0538292,110.08649 L73.0972819,110.436065 L73.0972819,110.436065 L73.1375158,110.828935 L73.1375158,110.828935 L73.174531,111.2651 L73.174531,111.2651 L73.2240187,112.000528 L73.2240187,112.000528 L73.2662643,112.83337 L73.2662643,112.83337 L73.3012678,113.763627 L73.3012678,113.763627 L73.3290292,114.791298 L73.3290292,114.791298 L73.3495485,115.916385 L73.3495485,115.916385 L73.3592047,116.720561 L73.3592047,116.720561 L73.3692632,118.920421 L73.3692632,118.920421 L73.3692632,162.534737 L62.9608421,162.534737 L62.9608421,96 L75.4958596,96 L105.453474,143.743439 L106.193575,144.911679 L106.193575,144.911679 L106.669684,145.679814 L106.669684,145.679814 L107.078107,146.355353 L107.078107,146.355353 L107.418845,146.938309 L107.418845,146.938309 L107.6084,147.275518 L107.6084,147.275518 L107.767873,147.571589 L107.767873,147.571589 L107.897263,147.826526 L107.897263,147.826526 L108.078035,147.826526 L108.043917,147.617702 L108.043917,147.617702 L107.979689,147.167509 L107.979689,147.167509 L107.920805,146.673926 L107.920805,146.673926 L107.867266,146.136952 C107.858788,146.04384 107.850533,145.948921 107.842501,145.852193 L107.796983,145.250133 L107.796983,145.250133 L107.756815,144.604681 L107.756815,144.604681 L107.721997,143.915839 L107.721997,143.915839 L107.679806,142.801218 L107.679806,142.801218 L107.649664,141.588968 L107.649664,141.588968 L107.631575,140.279088 L107.631575,140.279088 L107.625544,138.871579 L107.625544,138.871579 L107.625544,96 L117.988491,96 L117.988491,162.534737 Z M168.673123,162.534737 L132.244772,162.534737 L132.244772,96 L167.225263,96 L167.225263,105.372632 L143.015298,105.372632 L143.015298,124.209965 L165.324912,124.209965 L165.324912,133.536 L143.015298,133.536 L143.015298,153.208702 L168.673123,153.208702 L168.673123,162.534737 Z M220.444632,105.372632 L201.800421,105.372632 L201.800421,162.534737 L191.029895,162.534737 L191.029895,105.372632 L172.431158,105.372632 L172.431158,96 L220.444632,96 L220.444632,105.372632 Z" fill="#FFFFFF"></path>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 3.0 KiB |
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="512px" height="192px" viewBox="0 0 512 192" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
|
||||
<g>
|
||||
<path d="M292.533152,13.2950639 L293.657233,14.0455076 C306.869315,22.7704678 316.342129,34.7361275 322.574244,49.1946331 C324.069951,51.4381943 323.072813,52.6846171 320.081398,53.4324709 L315.017741,54.7277932 C303.571167,57.6768058 294.487155,60.1566573 283.191384,63.10567 L276.74841,64.7843862 C274.428264,65.3583626 273.787695,65.1170696 271.320433,62.3073717 L270.972336,61.9081465 C267.453024,57.9195933 264.816991,55.2559574 260.154613,52.878088 L259.255961,52.4353326 C243.551033,44.7075107 228.344673,46.9510719 214.135452,56.1746012 C197.184101,67.1431227 188.459141,83.3466202 188.708425,103.538671 C188.95771,123.481438 202.668362,139.93422 222.361843,142.67635 C239.313195,144.919911 253.522416,138.937081 264.740222,126.223568 C266.983783,123.481438 268.978059,120.490023 271.470905,117.000039 L223.358982,117.000039 C218.124006,117.000039 216.877583,113.759339 218.622575,109.521501 L219.486848,107.487264 C222.690544,100.033179 227.659682,89.3185944 230.887235,83.1925665 L231.591356,81.8743455 C232.452883,80.3801337 234.202861,78.3609287 237.568203,78.3609287 L317.791861,78.3603482 C321.394911,66.9456209 327.24084,56.159659 335.038473,45.9539335 C353.236247,22.0226141 375.17329,9.55838523 404.838154,4.32340907 C430.265181,-0.163713323 454.196501,2.32913245 475.884259,17.0369225 C495.577741,30.4982897 507.792685,48.6960639 511.033385,72.6273834 C515.271222,106.280802 505.549124,133.702105 482.365658,157.134856 C465.912876,173.836922 445.720825,184.306875 422.537359,189.043282 C415.806676,190.289704 409.075992,190.538989 402.594593,191.286843 C379.909697,190.788274 359.219077,184.306875 341.769156,169.3498 C329.496056,158.740849 321.041799,145.701725 316.840932,130.522127 C313.926247,136.409796 310.44016,142.04853 306.370746,147.412757 C288.422257,171.094792 264.989506,185.802582 235.324641,189.791135 C210.894753,193.031835 188.209856,188.295428 168.26709,173.338353 C149.820031,159.378417 139.350079,140.931358 136.607949,117.997177 C133.367249,90.8251575 141.344356,66.3952689 157.797138,44.9567952 C175.496343,21.7733295 198.929093,7.06553943 227.59682,1.8305633 C250.59563,-2.32879605 272.633891,0.235689133 292.533152,13.2950639 L292.533152,13.2950639 Z M411.120284,49.0171223 L410.322415,49.1946331 C387.138949,54.4296092 372.181875,69.1373993 366.697614,92.5701496 C362.210492,112.014347 371.683306,131.707829 389.631795,139.684935 C403.342447,145.667765 417.053099,144.919911 430.265181,138.189228 C449.958663,127.96856 460.6779,112.014347 461.924323,90.575873 C461.675038,87.3351735 461.675038,84.8423277 461.176469,82.3494819 C456.739764,57.9476028 434.511926,44.025432 411.120284,49.0171223 L411.120284,49.0171223 Z M116.415898,94.5644262 C117.413036,94.5644262 117.911605,95.3122799 117.911605,96.3094183 L117.413036,102.292248 C117.413036,103.289387 116.415898,104.03724 115.668044,104.03724 L61.3240061,103.787956 C60.3268678,103.787956 60.0775833,103.040102 60.5761524,102.292248 L64.0661365,96.0601337 C64.5647057,95.3122799 65.561844,94.5644262 66.5589823,94.5644262 L116.415898,94.5644262 Z M121.900159,71.6302451 C122.897297,71.6302451 123.395866,72.3780988 123.146581,73.1259525 L121.152305,79.1087824 C120.90302,80.1059207 119.905882,80.6044899 118.908744,80.6044899 L0.99713831,80.8537744 C0,80.8537744 -0.249284578,80.3552053 0.249284578,79.6073515 L5.48426071,72.8766679 C5.98282987,72.1288142 7.22925276,71.6302451 8.22639107,71.6302451 L121.900159,71.6302451 Z M134.862957,48.6960639 C135.860095,48.6960639 136.109379,49.4439176 135.61081,50.1917714 L131.372973,56.6731704 C130.874403,57.4210241 129.62798,58.1688779 128.880127,58.1688779 L38.6391096,57.9195933 C37.6419713,57.9195933 37.3926867,57.4210241 37.8912558,56.6731704 L43.126232,49.9424868 C43.6248011,49.1946331 44.871224,48.6960639 45.8683623,48.6960639 L134.862957,48.6960639 Z" fill="#00ACD7" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 4.0 KiB |
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="256px" height="346px" viewBox="0 0 256 346" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
|
||||
<g>
|
||||
<path d="M82.5539491,267.472524 C82.5539491,267.472524 69.35552,275.147869 91.9468218,277.745105 C119.315549,280.867375 133.303389,280.419607 163.463913,274.711273 C163.463913,274.711273 171.393396,279.683258 182.467491,283.989644 C114.855564,312.966982 29.4483782,282.311215 82.5539491,267.472524" fill="#5382A1"></path>
|
||||
<path d="M74.2921309,229.658996 C74.2921309,229.658996 59.4888145,240.616727 82.0968727,242.955171 C111.333004,245.971316 134.421411,246.218007 174.373236,238.524975 C174.373236,238.524975 179.899113,244.127185 188.588218,247.190807 C106.841367,271.094691 15.79008,249.075898 74.2921309,229.658996" fill="#5382A1"></path>
|
||||
<path d="M143.941818,165.514705 C160.601367,184.695156 139.564684,201.955142 139.564684,201.955142 C139.564684,201.955142 181.866124,180.117876 162.438982,152.772422 C144.294633,127.271098 130.380335,114.600495 205.706705,70.9138618 C205.706705,70.9138618 87.4691491,100.44416 143.941818,165.514705" fill="#E76F00"></path>
|
||||
<path d="M233.364015,295.441687 C233.364015,295.441687 243.131113,303.489396 222.60736,309.715316 C183.580858,321.537862 60.1748945,325.107898 25.8932364,310.186356 C13.5698618,304.825251 36.67968,297.385425 43.9491491,295.824291 C51.5304727,294.180305 55.8629236,294.486575 55.8629236,294.486575 C42.15808,284.832116 -32.7195927,313.443607 17.8287709,321.637469 C155.681513,343.993251 269.121164,311.570618 233.364015,295.441687" fill="#5382A1"></path>
|
||||
<path d="M88.9008873,190.479825 C88.9008873,190.479825 26.1287564,205.389265 66.6717091,210.803433 C83.7901964,213.095331 117.915462,212.576815 149.702284,209.913484 C175.680233,207.722124 201.765236,203.062924 201.765236,203.062924 C201.765236,203.062924 192.605091,206.985775 185.977949,211.510924 C122.233949,228.275665 -0.907636364,220.476509 34.5432436,203.328233 C64.5241018,188.83584 88.9008873,190.479825 88.9008873,190.479825" fill="#5382A1"></path>
|
||||
<path d="M201.506444,253.422313 C266.305164,219.7504 236.344785,187.392 215.432844,191.751447 C210.307258,192.818269 208.021876,193.742662 208.021876,193.742662 C208.021876,193.742662 209.924655,190.761891 213.558924,189.471651 C254.929455,174.927127 286.746065,232.368873 200.204102,255.11936 C200.204102,255.120291 201.206691,254.223825 201.506444,253.422313" fill="#5382A1"></path>
|
||||
<path d="M162.438982,0.371432727 C162.438982,0.371432727 198.325527,36.27008 128.402153,91.4720582 C72.3307055,135.753542 115.616116,161.001658 128.37888,189.848669 C95.6490473,160.318371 71.6297309,134.322735 87.7437673,110.128407 C111.395375,74.6132945 176.918342,57.3942691 162.438982,0.371432727" fill="#E76F00"></path>
|
||||
<path d="M95.2683055,344.665367 C157.466996,348.646865 252.980131,342.45632 255.24224,313.025629 C255.24224,313.025629 250.893964,324.182575 203.838371,333.042967 C150.750487,343.033484 85.2740655,341.867055 46.4393309,335.464262 C46.4402618,335.463331 54.3892945,342.043927 95.2683055,344.665367" fill="#5382A1"></path>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 3.1 KiB |
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="256px" height="289px" viewBox="0 0 256 289" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
|
||||
<g>
|
||||
<path d="M127.999999,288.463771 C124.024844,288.463771 120.314699,287.403728 116.869564,285.548656 L81.6231884,264.612838 C76.32298,261.697724 78.9730854,260.637682 80.5631458,260.107661 C87.7184259,257.72257 89.0434775,257.192547 96.4637688,252.952381 C97.2587979,252.422361 98.3188405,252.687372 99.1138718,253.217392 L126.144927,269.383024 C127.20497,269.913045 128.530021,269.913045 129.325053,269.383024 L235.064182,208.165634 C236.124225,207.635611 236.654245,206.575571 236.654245,205.250519 L236.654245,83.0807467 C236.654245,81.7556929 236.124225,80.6956526 235.064182,80.1656324 L129.325053,19.2132506 C128.26501,18.6832305 126.939959,18.6832305 126.144927,19.2132506 L20.4057954,80.1656324 C19.3457551,80.6956526 18.8157349,82.0207041 18.8157349,83.0807467 L18.8157349,205.250519 C18.8157349,206.31056 19.3457551,207.635611 20.4057954,208.165634 L49.2919247,224.861286 C64.9275364,232.811595 74.7329196,223.536234 74.7329196,214.260871 L74.7329196,93.681159 C74.7329196,92.0910985 76.0579711,90.5010358 77.9130428,90.5010358 L91.4285716,90.5010358 C93.0186343,90.5010358 94.6086948,91.8260873 94.6086948,93.681159 L94.6086948,214.260871 C94.6086948,235.196689 83.2132512,247.387164 63.3374737,247.387164 C57.2422362,247.387164 52.4720502,247.387164 38.9565214,240.761906 L11.1304347,224.861286 C4.24016581,220.886129 5.68434189e-14,213.46584 5.68434189e-14,205.515528 L5.68434189e-14,83.3457557 C5.68434189e-14,75.3954465 4.24016581,67.9751552 11.1304347,64.0000006 L116.869564,2.78260752 C123.494824,-0.927535841 132.505176,-0.927535841 139.130436,2.78260752 L244.869565,64.0000006 C251.759834,67.9751552 256,75.3954465 256,83.3457557 L256,205.515528 C256,213.46584 251.759834,220.886129 244.869565,224.861286 L139.130436,286.078676 C135.685299,287.668739 131.710145,288.463771 127.999999,288.463771 L127.999999,288.463771 Z M160.596274,204.455488 C114.219461,204.455488 104.679089,183.254659 104.679089,165.233955 C104.679089,163.643893 106.004141,162.053832 107.859212,162.053832 L121.639752,162.053832 C123.229813,162.053832 124.554864,163.113872 124.554864,164.703935 C126.674947,178.749484 132.770187,185.639753 160.861283,185.639753 C183.122154,185.639753 192.662526,180.604556 192.662526,168.67909 C192.662526,161.788821 190.012423,156.753624 155.296065,153.308489 C126.409938,150.393375 108.389235,144.033126 108.389235,120.977226 C108.389235,99.5113875 126.409938,86.7908901 156.621119,86.7908901 C190.542443,86.7908901 207.238095,98.4513472 209.358178,123.89234 C209.358178,124.687371 209.093167,125.482403 208.563147,126.277434 C208.033127,126.807454 207.238095,127.337474 206.443064,127.337474 L192.662526,127.337474 C191.337475,127.337474 190.012423,126.277434 189.747412,124.952382 C186.567289,110.376813 178.351966,105.606625 156.621119,105.606625 C132.240165,105.606625 129.325053,114.086957 129.325053,120.447205 C129.325053,128.132506 132.770187,130.5176 165.631471,134.757766 C198.227744,138.997931 213.598344,145.093169 213.598344,167.884058 C213.333333,191.20497 194.252589,204.455488 160.596274,204.455488 L160.596274,204.455488 Z" fill="#539E43"></path>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 3.3 KiB |
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<svg width="256px" height="255px" viewBox="0 0 256 255" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
|
||||
<defs>
|
||||
<linearGradient x1="12.9593594%" y1="12.0393928%" x2="79.6388325%" y2="78.2008538%" id="linearGradient-1">
|
||||
<stop stop-color="#387EB8" offset="0%"></stop>
|
||||
<stop stop-color="#366994" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="19.127525%" y1="20.5791813%" x2="90.7415328%" y2="88.4290372%" id="linearGradient-2">
|
||||
<stop stop-color="#FFE052" offset="0%"></stop>
|
||||
<stop stop-color="#FFC331" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g>
|
||||
<path d="M126.915866,0.0722755491 C62.0835831,0.0722801733 66.1321288,28.1874648 66.1321288,28.1874648 L66.2044043,57.3145115 L128.072276,57.3145115 L128.072276,66.0598532 L41.6307171,66.0598532 C41.6307171,66.0598532 0.144551098,61.3549438 0.144551098,126.771315 C0.144546474,192.187673 36.3546019,189.867871 36.3546019,189.867871 L57.9649915,189.867871 L57.9649915,159.51214 C57.9649915,159.51214 56.8001363,123.302089 93.5968379,123.302089 L154.95878,123.302089 C154.95878,123.302089 189.434218,123.859386 189.434218,89.9830604 L189.434218,33.9695088 C189.434218,33.9695041 194.668541,0.0722755491 126.915866,0.0722755491 L126.915866,0.0722755491 L126.915866,0.0722755491 Z M92.8018069,19.6589497 C98.9572068,19.6589452 103.932242,24.6339846 103.932242,30.7893845 C103.932246,36.9447844 98.9572068,41.9198193 92.8018069,41.9198193 C86.646407,41.9198239 81.6713721,36.9447844 81.6713721,30.7893845 C81.6713674,24.6339846 86.646407,19.6589497 92.8018069,19.6589497 L92.8018069,19.6589497 L92.8018069,19.6589497 Z" fill="url(#linearGradient-1)"></path>
|
||||
<path d="M128.757101,254.126271 C193.589403,254.126271 189.540839,226.011081 189.540839,226.011081 L189.468564,196.884035 L127.600692,196.884035 L127.600692,188.138693 L214.042251,188.138693 C214.042251,188.138693 255.528417,192.843589 255.528417,127.427208 C255.52844,62.0108566 219.318366,64.3306589 219.318366,64.3306589 L197.707976,64.3306589 L197.707976,94.6863832 C197.707976,94.6863832 198.87285,130.896434 162.07613,130.896434 L100.714182,130.896434 C100.714182,130.896434 66.238745,130.339138 66.238745,164.215486 L66.238745,220.229038 C66.238745,220.229038 61.0044225,254.126271 128.757101,254.126271 L128.757101,254.126271 L128.757101,254.126271 Z M162.87116,234.539597 C156.715759,234.539597 151.740726,229.564564 151.740726,223.409162 C151.740726,217.253759 156.715759,212.278727 162.87116,212.278727 C169.026563,212.278727 174.001595,217.253759 174.001595,223.409162 C174.001618,229.564564 169.026563,234.539597 162.87116,234.539597 L162.87116,234.539597 L162.87116,234.539597 Z" fill="url(#linearGradient-2)"></path>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 2.8 KiB |
@@ -1,139 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<svg width="256px" height="255px" viewBox="0 0 256 255" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
|
||||
<defs>
|
||||
<linearGradient x1="84.7503645%" y1="111.399353%" x2="58.2543962%" y2="64.5837087%" id="linearGradient-1">
|
||||
<stop stop-color="#FB7655" offset="0%"></stop>
|
||||
<stop stop-color="#FB7655" offset="0%"></stop>
|
||||
<stop stop-color="#E42B1E" offset="41%"></stop>
|
||||
<stop stop-color="#990000" offset="99%"></stop>
|
||||
<stop stop-color="#990000" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="116.651024%" y1="60.8903211%" x2="1.74616041%" y2="19.2879503%" id="linearGradient-2">
|
||||
<stop stop-color="#871101" offset="0%"></stop>
|
||||
<stop stop-color="#871101" offset="0%"></stop>
|
||||
<stop stop-color="#911209" offset="99%"></stop>
|
||||
<stop stop-color="#911209" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="75.7744024%" y1="219.327131%" x2="38.9781357%" y2="7.82868176%" id="linearGradient-3">
|
||||
<stop stop-color="#871101" offset="0%"></stop>
|
||||
<stop stop-color="#871101" offset="0%"></stop>
|
||||
<stop stop-color="#911209" offset="99%"></stop>
|
||||
<stop stop-color="#911209" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="50.012428%" y1="7.23449921%" x2="66.4830414%" y2="79.1354134%" id="linearGradient-4">
|
||||
<stop stop-color="#FFFFFF" offset="0%"></stop>
|
||||
<stop stop-color="#FFFFFF" offset="0%"></stop>
|
||||
<stop stop-color="#E57252" offset="23%"></stop>
|
||||
<stop stop-color="#DE3B20" offset="46%"></stop>
|
||||
<stop stop-color="#A60003" offset="99%"></stop>
|
||||
<stop stop-color="#A60003" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="46.1741749%" y1="16.347907%" x2="49.9323342%" y2="83.0468449%" id="linearGradient-5">
|
||||
<stop stop-color="#FFFFFF" offset="0%"></stop>
|
||||
<stop stop-color="#FFFFFF" offset="0%"></stop>
|
||||
<stop stop-color="#E4714E" offset="23%"></stop>
|
||||
<stop stop-color="#BE1A0D" offset="56%"></stop>
|
||||
<stop stop-color="#A80D00" offset="99%"></stop>
|
||||
<stop stop-color="#A80D00" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="36.9653573%" y1="15.5936471%" x2="49.5282324%" y2="92.4776332%" id="linearGradient-6">
|
||||
<stop stop-color="#FFFFFF" offset="0%"></stop>
|
||||
<stop stop-color="#FFFFFF" offset="0%"></stop>
|
||||
<stop stop-color="#E46342" offset="18%"></stop>
|
||||
<stop stop-color="#C82410" offset="40%"></stop>
|
||||
<stop stop-color="#A80D00" offset="99%"></stop>
|
||||
<stop stop-color="#A80D00" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="13.6086166%" y1="58.3456855%" x2="85.7636612%" y2="-46.7167814%" id="linearGradient-7">
|
||||
<stop stop-color="#FFFFFF" offset="0%"></stop>
|
||||
<stop stop-color="#FFFFFF" offset="0%"></stop>
|
||||
<stop stop-color="#C81F11" offset="54%"></stop>
|
||||
<stop stop-color="#BF0905" offset="99%"></stop>
|
||||
<stop stop-color="#BF0905" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="27.6242038%" y1="21.1345847%" x2="50.7445145%" y2="79.0557818%" id="linearGradient-8">
|
||||
<stop stop-color="#FFFFFF" offset="0%"></stop>
|
||||
<stop stop-color="#FFFFFF" offset="0%"></stop>
|
||||
<stop stop-color="#DE4024" offset="31%"></stop>
|
||||
<stop stop-color="#BF190B" offset="99%"></stop>
|
||||
<stop stop-color="#BF190B" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="-20.6671297%" y1="122.281897%" x2="104.241521%" y2="-6.34211007%" id="linearGradient-9">
|
||||
<stop stop-color="#BD0012" offset="0%"></stop>
|
||||
<stop stop-color="#BD0012" offset="0%"></stop>
|
||||
<stop stop-color="#FFFFFF" offset="7%"></stop>
|
||||
<stop stop-color="#FFFFFF" offset="17%"></stop>
|
||||
<stop stop-color="#C82F1C" offset="27%"></stop>
|
||||
<stop stop-color="#820C01" offset="33%"></stop>
|
||||
<stop stop-color="#A31601" offset="46%"></stop>
|
||||
<stop stop-color="#B31301" offset="72%"></stop>
|
||||
<stop stop-color="#E82609" offset="99%"></stop>
|
||||
<stop stop-color="#E82609" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="58.7919609%" y1="65.2049657%" x2="11.9636556%" y2="50.1275621%" id="linearGradient-10">
|
||||
<stop stop-color="#8C0C01" offset="0%"></stop>
|
||||
<stop stop-color="#8C0C01" offset="0%"></stop>
|
||||
<stop stop-color="#990C00" offset="54%"></stop>
|
||||
<stop stop-color="#A80D0E" offset="99%"></stop>
|
||||
<stop stop-color="#A80D0E" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="79.3194899%" y1="62.7538068%" x2="23.088288%" y2="17.8876818%" id="linearGradient-11">
|
||||
<stop stop-color="#7E110B" offset="0%"></stop>
|
||||
<stop stop-color="#7E110B" offset="0%"></stop>
|
||||
<stop stop-color="#9E0C00" offset="99%"></stop>
|
||||
<stop stop-color="#9E0C00" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="92.8800277%" y1="74.1223655%" x2="59.8414537%" y2="39.7039965%" id="linearGradient-12">
|
||||
<stop stop-color="#79130D" offset="0%"></stop>
|
||||
<stop stop-color="#79130D" offset="0%"></stop>
|
||||
<stop stop-color="#9E120B" offset="99%"></stop>
|
||||
<stop stop-color="#9E120B" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<radialGradient cx="32.0008013%" cy="40.2100469%" fx="32.0008013%" fy="40.2100469%" r="69.5729556%" id="radialGradient-13">
|
||||
<stop stop-color="#A80D00" offset="0%"></stop>
|
||||
<stop stop-color="#A80D00" offset="0%"></stop>
|
||||
<stop stop-color="#7E0E08" offset="99%"></stop>
|
||||
<stop stop-color="#7E0E08" offset="100%"></stop>
|
||||
</radialGradient>
|
||||
<radialGradient cx="13.5493795%" cy="40.859922%" fx="13.5493795%" fy="40.859922%" r="88.3861936%" id="radialGradient-14">
|
||||
<stop stop-color="#A30C00" offset="0%"></stop>
|
||||
<stop stop-color="#A30C00" offset="0%"></stop>
|
||||
<stop stop-color="#800E08" offset="99%"></stop>
|
||||
<stop stop-color="#800E08" offset="100%"></stop>
|
||||
</radialGradient>
|
||||
<linearGradient x1="56.5701955%" y1="101.716594%" x2="3.10480737%" y2="11.9932603%" id="linearGradient-15">
|
||||
<stop stop-color="#8B2114" offset="0%"></stop>
|
||||
<stop stop-color="#8B2114" offset="0%"></stop>
|
||||
<stop stop-color="#9E100A" offset="43%"></stop>
|
||||
<stop stop-color="#B3100C" offset="99%"></stop>
|
||||
<stop stop-color="#B3100C" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="30.8698732%" y1="35.5989756%" x2="92.4707626%" y2="100.693616%" id="linearGradient-16">
|
||||
<stop stop-color="#B31000" offset="0%"></stop>
|
||||
<stop stop-color="#B31000" offset="0%"></stop>
|
||||
<stop stop-color="#910F08" offset="44%"></stop>
|
||||
<stop stop-color="#791C12" offset="99%"></stop>
|
||||
<stop stop-color="#791C12" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g>
|
||||
<path d="M197.467337,167.763618 L51.9461307,254.173266 L240.368563,241.387417 L254.880804,51.3929648 L197.467337,167.763618 Z" fill="url(#linearGradient-1)"></path>
|
||||
<path d="M240.677307,241.257487 L224.482412,129.479397 L180.369367,187.729045 L240.677307,241.257487 Z" fill="url(#linearGradient-2)"></path>
|
||||
<path d="M240.896,241.257487 L122.249648,231.943719 L52.5764824,253.930131 L240.896,241.257487 Z" fill="url(#linearGradient-3)"></path>
|
||||
<path d="M52.7437186,253.954573 L82.3831156,156.854673 L17.161005,170.800884 L52.7437186,253.954573 Z" fill="url(#linearGradient-4)"></path>
|
||||
<path d="M180.357789,188.050653 L153.085427,81.2253266 L75.0375879,154.384724 L180.357789,188.050653 Z" fill="url(#linearGradient-5)"></path>
|
||||
<path d="M248.693065,82.7304523 L174.916181,22.4739698 L154.371859,88.8924623 L248.693065,82.7304523 Z" fill="url(#linearGradient-6)"></path>
|
||||
<path d="M214.190955,0.990552764 L170.799598,24.9696482 L143.424322,0.668944724 L214.190955,0.990552764 Z" fill="url(#linearGradient-7)"></path>
|
||||
<path d="M0,203.37206 L18.1772864,170.220704 L3.47336683,130.727236 L0,203.37206 Z" fill="url(#linearGradient-8)"></path>
|
||||
<path d="M2.49567839,129.479397 L17.2896482,171.442814 L81.5726633,157.020623 L154.963618,88.8139899 L175.675176,23.0271357 L143.062834,0 L87.617608,20.7501508 C70.1491457,36.9977889 36.2516583,69.1457286 35.0295477,69.7503518 C33.8203015,70.3678392 12.6456281,110.388744 2.49567839,129.479397 L2.49567839,129.479397 Z" fill="#FFFFFF"></path>
|
||||
<path d="M54.441809,54.0944724 C92.3015075,16.5563819 141.108744,-5.62170854 159.839196,13.2759799 C178.55807,32.1736683 158.707136,78.0992965 120.847437,115.624523 C82.9877387,153.149749 34.7851256,176.54995 16.0675377,157.652261 C-2.66291457,138.767437 16.5821106,91.6196985 54.441809,54.0944724 L54.441809,54.0944724 Z" fill="url(#linearGradient-9)"></path>
|
||||
<path d="M52.7437186,253.91598 L82.1515578,156.507337 L179.817487,187.883417 C144.504925,220.996181 105.230151,248.988945 52.7437186,253.91598 L52.7437186,253.91598 Z" fill="url(#linearGradient-10)"></path>
|
||||
<path d="M155.092261,88.6223116 L180.164824,187.934874 C209.662714,156.918995 236.137487,123.574673 249.103437,82.3316583 L155.092261,88.6223116 L155.092261,88.6223116 Z" fill="url(#linearGradient-11)"></path>
|
||||
<path d="M248.847437,82.8333668 C258.881608,52.5507538 261.197186,9.1079397 213.880925,1.04201005 L175.056402,22.4868342 L248.847437,82.8333668 L248.847437,82.8333668 Z" fill="url(#linearGradient-12)"></path>
|
||||
<path d="M0,202.934673 C1.38934673,252.913849 37.4480402,253.658693 52.8080402,254.097367 L17.3282412,171.236985 L0,202.934673 L0,202.934673 Z" fill="#9E1209"></path>
|
||||
<path d="M155.232482,88.7766834 C177.899417,102.708744 223.58191,130.688643 224.508141,131.203216 C225.947658,132.013668 244.203417,100.418894 248.345729,82.5632161 L155.232482,88.7766834 L155.232482,88.7766834 Z" fill="url(#radialGradient-13)"></path>
|
||||
<path d="M82.1129648,156.507337 L121.426332,232.355377 C144.672161,219.748342 162.875176,204.388342 179.547337,187.934874 L82.1129648,156.507337 L82.1129648,156.507337 Z" fill="url(#radialGradient-14)"></path>
|
||||
<path d="M17.1738693,171.339899 L11.6036181,237.668342 C22.1137688,252.024925 36.5732663,253.272764 51.7403015,252.153568 C40.7670352,224.842613 18.8462312,170.233568 17.1738693,171.339899 L17.1738693,171.339899 Z" fill="url(#linearGradient-15)"></path>
|
||||
<path d="M174.826131,22.6540704 L252.925427,33.6144724 C248.757387,15.9517588 235.957387,4.55396985 214.139497,0.990552764 L174.826131,22.6540704 L174.826131,22.6540704 Z" fill="url(#linearGradient-16)"></path>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 12 KiB |
@@ -2,5 +2,5 @@
|
||||
title: "Infisical C++ SDK"
|
||||
sidebarTitle: "C++"
|
||||
url: "https://github.com/Infisical/infisical-cpp-sdk/?tab=readme-ov-file#infisical-c-sdk"
|
||||
icon: "/images/sdks/languages/cpp.svg"
|
||||
icon: "c"
|
||||
---
|
@@ -2,7 +2,7 @@
|
||||
title: "Infisical .NET SDK"
|
||||
sidebarTitle: ".NET"
|
||||
url: "https://github.com/Infisical/infisical-dotnet-sdk?tab=readme-ov-file#infisical-net-sdk"
|
||||
icon: "/images/sdks/languages/dotnet.svg"
|
||||
icon: "bars"
|
||||
---
|
||||
{/*
|
||||
If you're working with C#, the official [Infisical C# SDK](https://github.com/Infisical/sdk/tree/main/languages/csharp) package is the easiest way to fetch and work with secrets for your application.
|
||||
|
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "Infisical Go SDK"
|
||||
sidebarTitle: "Go"
|
||||
icon: "/images/sdks/languages/go.svg"
|
||||
icon: "golang"
|
||||
---
|
||||
|
||||
If you're working with Go Lang, the official [Infisical Go SDK](https://github.com/infisical/go-sdk) package is the easiest way to fetch and work with secrets for your application.
|
||||
|
@@ -2,7 +2,7 @@
|
||||
title: "Infisical Java SDK"
|
||||
sidebarTitle: "Java"
|
||||
url: "https://github.com/Infisical/java-sdk?tab=readme-ov-file#infisical-java-sdk"
|
||||
icon: "/images/sdks/languages/java.svg"
|
||||
icon: "java"
|
||||
---
|
||||
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
title: "Infisical Node.js SDK"
|
||||
sidebarTitle: "Node.js"
|
||||
url: "https://github.com/Infisical/node-sdk-v2?tab=readme-ov-file#infisical-nodejs-sdk"
|
||||
icon: "/images/sdks/languages/node.svg"
|
||||
icon: "node"
|
||||
---
|
||||
|
||||
{/*
|
||||
|
@@ -2,7 +2,7 @@
|
||||
title: "Infisical Python SDK"
|
||||
sidebarTitle: "Python"
|
||||
url: "https://github.com/Infisical/python-sdk-official?tab=readme-ov-file#infisical-python-sdk"
|
||||
icon: "/images/sdks/languages/python.svg"
|
||||
icon: "python"
|
||||
---
|
||||
|
||||
{/* If you're working with Python, the official [infisical-python](https://github.com/Infisical/sdk/edit/main/crates/infisical-py) package is the easiest way to fetch and work with secrets for your application.
|
||||
|
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "Infisical Ruby SDK"
|
||||
sidebarTitle: "Ruby"
|
||||
icon: "/images/sdks/languages/ruby.svg"
|
||||
icon: "diamond"
|
||||
---
|
||||
|
||||
|
||||
|
@@ -1,6 +0,0 @@
|
||||
---
|
||||
title: "Infisical Rust SDK"
|
||||
sidebarTitle: "Rust"
|
||||
icon: "/images/sdks/languages/rust.svg"
|
||||
url: "https://github.com/Infisical/rust-sdk?tab=readme-ov-file#infisical--the-official-infisical-rust-sdk"
|
||||
---
|
@@ -3,8 +3,6 @@ title: "SDKs"
|
||||
sidebarTitle: "Introduction"
|
||||
---
|
||||
|
||||
|
||||
|
||||
From local development to production, Infisical SDKs provide the easiest way for your app to fetch back secrets from Infisical on demand.
|
||||
|
||||
- Install and initialize a language-specific client SDK into your application
|
||||
@@ -12,36 +10,29 @@ From local development to production, Infisical SDKs provide the easiest way for
|
||||
- Fetch secrets on demand
|
||||
|
||||
<CardGroup cols={2}>
|
||||
<Card title="Node.js" href="https://github.com/Infisical/node-sdk-v2?tab=readme-ov-file#infisical-nodejs-sdk" icon="/images/sdks/languages/node.svg">
|
||||
<Card title="Node.js" href="https://github.com/Infisical/node-sdk-v2?tab=readme-ov-file#infisical-nodejs-sdk" icon="node" color="#68a063">
|
||||
Manage secrets for your Node application on demand
|
||||
</Card>
|
||||
<Card href="https://github.com/Infisical/python-sdk-official?tab=readme-ov-file#infisical-python-sdk" title="Python" icon="/images/sdks/languages/python.svg">
|
||||
<Card href="https://github.com/Infisical/python-sdk-official?tab=readme-ov-file#infisical-python-sdk" title="Python" icon="python" color="#4c8abe">
|
||||
Manage secrets for your Python application on demand
|
||||
</Card>
|
||||
<Card href="https://github.com/Infisical/java-sdk?tab=readme-ov-file#infisical-java-sdk" title="Java" icon="/images/sdks/languages/java.svg">
|
||||
<Card href="https://github.com/Infisical/java-sdk?tab=readme-ov-file#infisical-java-sdk" title="Java" icon="java" color="#e41f23">
|
||||
Manage secrets for your Java application on demand
|
||||
</Card>
|
||||
<Card href="https://github.com/Infisical/infisical-dotnet-sdk?tab=readme-ov-file#infisical-net-sdk" title=".NET" icon="/images/sdks/languages/dotnet.svg">
|
||||
Manage secrets for your .NET application on demand
|
||||
</Card>
|
||||
<Card href="https://github.com/Infisical/infisical-cpp-sdk/?tab=readme-ov-file#infisical-c-sdk" title="C++" icon="/images/sdks/languages/cpp.svg">
|
||||
Manage secrets for your C++ application on demand
|
||||
</Card>
|
||||
<Card href="https://github.com/Infisical/rust-sdk?tab=readme-ov-file#infisical--the-official-infisical-rust-sdk" title="Rust" icon="/images/sdks/languages/rust.svg">
|
||||
Manage secrets for your Rust application on demand
|
||||
</Card>
|
||||
<Card href="/sdks/languages/go" title="Go" icon="/images/sdks/languages/go.svg">
|
||||
<Card href="/sdks/languages/go" title="Go" icon="golang" color="#367B99">
|
||||
Manage secrets for your Go application on demand
|
||||
</Card>
|
||||
<Card href="/sdks/languages/ruby" title="Ruby" icon="/images/sdks/languages/ruby.svg">
|
||||
<Card href="https://github.com/Infisical/infisical-dotnet-sdk?tab=readme-ov-file#infisical-net-sdk" title=".NET" icon="bars" color="#368833">
|
||||
Manage secrets for your .NET application on demand
|
||||
</Card>
|
||||
<Card href="https://github.com/Infisical/infisical-cpp-sdk/?tab=readme-ov-file#infisical-c-sdk" title="C++" icon="c" color="#b00dd1">
|
||||
Manage secrets for your C++ application on demand
|
||||
</Card>
|
||||
<Card href="/sdks/languages/ruby" title="Ruby" icon="diamond" color="#367B99">
|
||||
Manage secrets for your Ruby application on demand
|
||||
</Card>
|
||||
</CardGroup>
|
||||
|
||||
<Card title="Did we miss your favorite language?">
|
||||
We're always looking for new languages to support. If you'd like to see a new language added, please let us know by opening an issue on our [GitHub repository](https://github.com/Infisical/infisical/issues).
|
||||
</Card>
|
||||
|
||||
## FAQ
|
||||
|
||||
<AccordionGroup>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable jsx-a11y/label-has-associated-control */
|
||||
import React, { useCallback, useState } from "react";
|
||||
import { faCodeCommit, faEye, faFolder, faKey, faTrash } from "@fortawesome/free-solid-svg-icons";
|
||||
import { faCodeCommit, faEye, faFolder, faKey } from "@fortawesome/free-solid-svg-icons";
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
|
||||
import { Badge, Button, Input, Modal, ModalContent } from "@app/components/v2";
|
||||
@@ -296,39 +296,46 @@ export const CommitForm: React.FC<CommitFormProps> = ({
|
||||
<>
|
||||
{/* Floating Panel */}
|
||||
{!isModalOpen && (
|
||||
<div className="fixed bottom-4 z-40 w-64 self-center rounded-lg border border-mineshaft-600 bg-mineshaft-800 shadow-2xl">
|
||||
<div className="flex w-full justify-center border-b border-mineshaft-600 p-2">
|
||||
<div className="flex w-full items-center justify-between">
|
||||
<div className="fixed bottom-4 left-1/2 z-40 w-full max-w-3xl -translate-x-1/2 self-center rounded-lg border border-yellow/30 bg-mineshaft-800 shadow-2xl lg:left-auto lg:translate-x-0">
|
||||
<div className="flex items-center justify-between p-4">
|
||||
{/* Left Content */}
|
||||
<div className="flex-1">
|
||||
{/* Header */}
|
||||
<div className="flex items-center gap-2">
|
||||
<FontAwesomeIcon icon={faCodeCommit} className="text-mineshaft-400" />
|
||||
<div className="h-2 w-2 rounded-full bg-yellow-500" />
|
||||
<span className="font-medium text-mineshaft-100">Pending Changes</span>
|
||||
<Badge variant="primary" className="text-xs">
|
||||
{totalChangesCount} Change{totalChangesCount !== 1 ? "s" : ""}
|
||||
</Badge>
|
||||
</div>
|
||||
<Badge variant="primary" className="text-xs">
|
||||
{totalChangesCount} Change{totalChangesCount !== 1 ? "s" : ""}
|
||||
</Badge>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="flex justify-center gap-2 p-2">
|
||||
<Button
|
||||
size="sm"
|
||||
leftIcon={<FontAwesomeIcon icon={faTrash} />}
|
||||
onClick={() => clearAllPendingChanges({ workspaceId, environment, secretPath })}
|
||||
isDisabled={totalChangesCount === 0}
|
||||
variant="outline_bg"
|
||||
className="h-8 flex-1 hover:border-red/40 hover:bg-red/[0.1]"
|
||||
>
|
||||
Discard
|
||||
</Button>
|
||||
<Button
|
||||
variant="outline_bg"
|
||||
leftIcon={<FontAwesomeIcon icon={faEye} />}
|
||||
onClick={() => setIsModalOpen(true)}
|
||||
isDisabled={totalChangesCount === 0}
|
||||
className="h-8 flex-1"
|
||||
>
|
||||
Review
|
||||
</Button>
|
||||
{/* Description */}
|
||||
<p className="text-sm leading-5 text-mineshaft-400">
|
||||
Review pending changes and commit them to apply the updates.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Right Buttons */}
|
||||
<div className="ml-6 mt-0.5 flex items-center gap-3">
|
||||
<Button
|
||||
size="sm"
|
||||
onClick={() => clearAllPendingChanges({ workspaceId, environment, secretPath })}
|
||||
isDisabled={totalChangesCount === 0}
|
||||
variant="outline_bg"
|
||||
className="px-4 hover:border-red/40 hover:bg-red/[0.1]"
|
||||
>
|
||||
Discard
|
||||
</Button>
|
||||
<Button
|
||||
variant="solid"
|
||||
leftIcon={<FontAwesomeIcon icon={faEye} />}
|
||||
onClick={() => setIsModalOpen(true)}
|
||||
isDisabled={totalChangesCount === 0}
|
||||
className="px-6"
|
||||
>
|
||||
Review Changes
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|