Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat(pki): add AWS PCA external CA integration (#5515)
Saif Ur Rahman22dd7abae6da
diff --git a/backend/package-lock.json b/backend/package-lock.jsonindex 800cf1d611..6b09362c1d 100644--- a/backend/package-lock.json+++ b/backend/package-lock.json@@ -9,6 +9,7 @@"version": "1.0.0","license": "ISC","dependencies": {+ "@aws-sdk/client-acm-pca": "^3.992.0","@aws-sdk/client-elasticache": "^3.637.0","@aws-sdk/client-iam": "^3.525.0","@aws-sdk/client-kms": "^3.609.0",@@ -440,6 +441,1161 @@"node": ">=14.0.0"}},+ "node_modules/@aws-sdk/client-acm-pca": {+ "version": "3.992.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/client-acm-pca/-/client-acm-pca-3.992.0.tgz",+ "integrity": "sha512-ccgBBtQUzu9qGdSDlpkx2Hcz9GE4B7wImhHFC2Jdv5xsgw+cx3JldlSaqx4+EV/EAtHUlU4rMiHZ5hrnE0o6Mw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-crypto/sha256-browser": "5.2.0",+ "@aws-crypto/sha256-js": "5.2.0",+ "@aws-sdk/core": "^3.973.10",+ "@aws-sdk/credential-provider-node": "^3.972.9",+ "@aws-sdk/middleware-host-header": "^3.972.3",+ "@aws-sdk/middleware-logger": "^3.972.3",+ "@aws-sdk/middleware-recursion-detection": "^3.972.3",+ "@aws-sdk/middleware-user-agent": "^3.972.10",+ "@aws-sdk/region-config-resolver": "^3.972.3",+ "@aws-sdk/types": "^3.973.1",+ "@aws-sdk/util-endpoints": "3.992.0",+ "@aws-sdk/util-user-agent-browser": "^3.972.3",+ "@aws-sdk/util-user-agent-node": "^3.972.8",+ "@smithy/config-resolver": "^4.4.6",+ "@smithy/core": "^3.23.0",+ "@smithy/fetch-http-handler": "^5.3.9",+ "@smithy/hash-node": "^4.2.8",+ "@smithy/invalid-dependency": "^4.2.8",+ "@smithy/middleware-content-length": "^4.2.8",+ "@smithy/middleware-endpoint": "^4.4.14",+ "@smithy/middleware-retry": "^4.4.31",+ "@smithy/middleware-serde": "^4.2.9",+ "@smithy/middleware-stack": "^4.2.8",+ "@smithy/node-config-provider": "^4.3.8",+ "@smithy/node-http-handler": "^4.4.10",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/smithy-client": "^4.11.3",+ "@smithy/types": "^4.12.0",+ "@smithy/url-parser": "^4.2.8",+ "@smithy/util-base64": "^4.3.0",+ "@smithy/util-body-length-browser": "^4.2.0",+ "@smithy/util-body-length-node": "^4.2.1",+ "@smithy/util-defaults-mode-browser": "^4.3.30",+ "@smithy/util-defaults-mode-node": "^4.2.33",+ "@smithy/util-endpoints": "^3.2.8",+ "@smithy/util-middleware": "^4.2.8",+ "@smithy/util-retry": "^4.2.8",+ "@smithy/util-utf8": "^4.2.0",+ "@smithy/util-waiter": "^4.2.8",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/client-sso": {+ "version": "3.990.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.990.0.tgz",+ "integrity": "sha512-xTEaPjZwOqVjGbLOP7qzwbdOWJOo1ne2mUhTZwEBBkPvNk4aXB/vcYwWwrjoSWUqtit4+GDbO75ePc/S6TUJYQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-crypto/sha256-browser": "5.2.0",+ "@aws-crypto/sha256-js": "5.2.0",+ "@aws-sdk/core": "^3.973.10",+ "@aws-sdk/middleware-host-header": "^3.972.3",+ "@aws-sdk/middleware-logger": "^3.972.3",+ "@aws-sdk/middleware-recursion-detection": "^3.972.3",+ "@aws-sdk/middleware-user-agent": "^3.972.10",+ "@aws-sdk/region-config-resolver": "^3.972.3",+ "@aws-sdk/types": "^3.973.1",+ "@aws-sdk/util-endpoints": "3.990.0",+ "@aws-sdk/util-user-agent-browser": "^3.972.3",+ "@aws-sdk/util-user-agent-node": "^3.972.8",+ "@smithy/config-resolver": "^4.4.6",+ "@smithy/core": "^3.23.0",+ "@smithy/fetch-http-handler": "^5.3.9",+ "@smithy/hash-node": "^4.2.8",+ "@smithy/invalid-dependency": "^4.2.8",+ "@smithy/middleware-content-length": "^4.2.8",+ "@smithy/middleware-endpoint": "^4.4.14",+ "@smithy/middleware-retry": "^4.4.31",+ "@smithy/middleware-serde": "^4.2.9",+ "@smithy/middleware-stack": "^4.2.8",+ "@smithy/node-config-provider": "^4.3.8",+ "@smithy/node-http-handler": "^4.4.10",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/smithy-client": "^4.11.3",+ "@smithy/types": "^4.12.0",+ "@smithy/url-parser": "^4.2.8",+ "@smithy/util-base64": "^4.3.0",+ "@smithy/util-body-length-browser": "^4.2.0",+ "@smithy/util-body-length-node": "^4.2.1",+ "@smithy/util-defaults-mode-browser": "^4.3.30",+ "@smithy/util-defaults-mode-node": "^4.2.33",+ "@smithy/util-endpoints": "^3.2.8",+ "@smithy/util-middleware": "^4.2.8",+ "@smithy/util-retry": "^4.2.8",+ "@smithy/util-utf8": "^4.2.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints": {+ "version": "3.990.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.990.0.tgz",+ "integrity": "sha512-kVwtDc9LNI3tQZHEMNbkLIOpeDK8sRSTuT8eMnzGY+O+JImPisfSTjdh+jw9OTznu+MYZjQsv0258sazVKunYg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/types": "^3.973.1",+ "@smithy/types": "^4.12.0",+ "@smithy/url-parser": "^4.2.8",+ "@smithy/util-endpoints": "^3.2.8",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/core": {+ "version": "3.973.10",+ "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.973.10.tgz",+ "integrity": "sha512-4u/FbyyT3JqzfsESI70iFg6e2yp87MB5kS2qcxIA66m52VSTN1fvuvbCY1h/LKq1LvuxIrlJ1ItcyjvcKoaPLg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/types": "^3.973.1",+ "@aws-sdk/xml-builder": "^3.972.4",+ "@smithy/core": "^3.23.0",+ "@smithy/node-config-provider": "^4.3.8",+ "@smithy/property-provider": "^4.2.8",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/signature-v4": "^5.3.8",+ "@smithy/smithy-client": "^4.11.3",+ "@smithy/types": "^4.12.0",+ "@smithy/util-base64": "^4.3.0",+ "@smithy/util-middleware": "^4.2.8",+ "@smithy/util-utf8": "^4.2.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/credential-provider-env": {+ "version": "3.972.8",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.8.tgz",+ "integrity": "sha512-r91OOPAcHnLCSxaeu/lzZAVRCZ/CtTNuwmJkUwpwSDshUrP7bkX1OmFn2nUMWd9kN53Q4cEo8b7226G4olt2Mg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/core": "^3.973.10",+ "@aws-sdk/types": "^3.973.1",+ "@smithy/property-provider": "^4.2.8",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/credential-provider-http": {+ "version": "3.972.10",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.10.tgz",+ "integrity": "sha512-DTtuyXSWB+KetzLcWaSahLJCtTUe/3SXtlGp4ik9PCe9xD6swHEkG8n8/BNsQ9dsihb9nhFvuUB4DpdBGDcvVg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/core": "^3.973.10",+ "@aws-sdk/types": "^3.973.1",+ "@smithy/fetch-http-handler": "^5.3.9",+ "@smithy/node-http-handler": "^4.4.10",+ "@smithy/property-provider": "^4.2.8",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/smithy-client": "^4.11.3",+ "@smithy/types": "^4.12.0",+ "@smithy/util-stream": "^4.5.12",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/credential-provider-ini": {+ "version": "3.972.8",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.972.8.tgz",+ "integrity": "sha512-n2dMn21gvbBIEh00E8Nb+j01U/9rSqFIamWRdGm/mE5e+vHQ9g0cBNdrYFlM6AAiryKVHZmShWT9D1JAWJ3ISw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/core": "^3.973.10",+ "@aws-sdk/credential-provider-env": "^3.972.8",+ "@aws-sdk/credential-provider-http": "^3.972.10",+ "@aws-sdk/credential-provider-login": "^3.972.8",+ "@aws-sdk/credential-provider-process": "^3.972.8",+ "@aws-sdk/credential-provider-sso": "^3.972.8",+ "@aws-sdk/credential-provider-web-identity": "^3.972.8",+ "@aws-sdk/nested-clients": "3.990.0",+ "@aws-sdk/types": "^3.973.1",+ "@smithy/credential-provider-imds": "^4.2.8",+ "@smithy/property-provider": "^4.2.8",+ "@smithy/shared-ini-file-loader": "^4.4.3",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/credential-provider-login": {+ "version": "3.972.8",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.8.tgz",+ "integrity": "sha512-rMFuVids8ICge/X9DF5pRdGMIvkVhDV9IQFQ8aTYk6iF0rl9jOUa1C3kjepxiXUlpgJQT++sLZkT9n0TMLHhQw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/core": "^3.973.10",+ "@aws-sdk/nested-clients": "3.990.0",+ "@aws-sdk/types": "^3.973.1",+ "@smithy/property-provider": "^4.2.8",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/shared-ini-file-loader": "^4.4.3",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/credential-provider-node": {+ "version": "3.972.9",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.9.tgz",+ "integrity": "sha512-LfJfO0ClRAq2WsSnA9JuUsNyIicD2eyputxSlSL0EiMrtxOxELLRG6ZVYDf/a1HCepaYPXeakH4y8D5OLCauag==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/credential-provider-env": "^3.972.8",+ "@aws-sdk/credential-provider-http": "^3.972.10",+ "@aws-sdk/credential-provider-ini": "^3.972.8",+ "@aws-sdk/credential-provider-process": "^3.972.8",+ "@aws-sdk/credential-provider-sso": "^3.972.8",+ "@aws-sdk/credential-provider-web-identity": "^3.972.8",+ "@aws-sdk/types": "^3.973.1",+ "@smithy/credential-provider-imds": "^4.2.8",+ "@smithy/property-provider": "^4.2.8",+ "@smithy/shared-ini-file-loader": "^4.4.3",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/credential-provider-process": {+ "version": "3.972.8",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.8.tgz",+ "integrity": "sha512-6cg26ffFltxM51OOS8NH7oE41EccaYiNlbd5VgUYwhiGCySLfHoGuGrLm2rMB4zhy+IO5nWIIG0HiodX8zdvHA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/core": "^3.973.10",+ "@aws-sdk/types": "^3.973.1",+ "@smithy/property-provider": "^4.2.8",+ "@smithy/shared-ini-file-loader": "^4.4.3",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/credential-provider-sso": {+ "version": "3.972.8",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.972.8.tgz",+ "integrity": "sha512-35kqmFOVU1n26SNv+U37sM8b2TzG8LyqAcd6iM9gprqxyHEh/8IM3gzN4Jzufs3qM6IrH8e43ryZWYdvfVzzKQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/client-sso": "3.990.0",+ "@aws-sdk/core": "^3.973.10",+ "@aws-sdk/token-providers": "3.990.0",+ "@aws-sdk/types": "^3.973.1",+ "@smithy/property-provider": "^4.2.8",+ "@smithy/shared-ini-file-loader": "^4.4.3",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/credential-provider-web-identity": {+ "version": "3.972.8",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.8.tgz",+ "integrity": "sha512-CZhN1bOc1J3ubQPqbmr5b4KaMJBgdDvYsmEIZuX++wFlzmZsKj1bwkaiTEb5U2V7kXuzLlpF5HJSOM9eY/6nGA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/core": "^3.973.10",+ "@aws-sdk/nested-clients": "3.990.0",+ "@aws-sdk/types": "^3.973.1",+ "@smithy/property-provider": "^4.2.8",+ "@smithy/shared-ini-file-loader": "^4.4.3",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/middleware-host-header": {+ "version": "3.972.3",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.972.3.tgz",+ "integrity": "sha512-aknPTb2M+G3s+0qLCx4Li/qGZH8IIYjugHMv15JTYMe6mgZO8VBpYgeGYsNMGCqCZOcWzuf900jFBG5bopfzmA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/types": "^3.973.1",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/middleware-logger": {+ "version": "3.972.3",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.972.3.tgz",+ "integrity": "sha512-Ftg09xNNRqaz9QNzlfdQWfpqMCJbsQdnZVJP55jfhbKi1+FTWxGuvfPoBhDHIovqWKjqbuiew3HuhxbJ0+OjgA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/types": "^3.973.1",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/middleware-recursion-detection": {+ "version": "3.972.3",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.972.3.tgz",+ "integrity": "sha512-PY57QhzNuXHnwbJgbWYTrqIDHYSeOlhfYERTAuc16LKZpTZRJUjzBFokp9hF7u1fuGeE3D70ERXzdbMBOqQz7Q==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/types": "^3.973.1",+ "@aws/lambda-invoke-store": "^0.2.2",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/middleware-user-agent": {+ "version": "3.972.10",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.972.10.tgz",+ "integrity": "sha512-bBEL8CAqPQkI91ZM5a9xnFAzedpzH6NYCOtNyLarRAzTUTFN2DKqaC60ugBa7pnU1jSi4mA7WAXBsrod7nJltg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/core": "^3.973.10",+ "@aws-sdk/types": "^3.973.1",+ "@aws-sdk/util-endpoints": "3.990.0",+ "@smithy/core": "^3.23.0",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints": {+ "version": "3.990.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.990.0.tgz",+ "integrity": "sha512-kVwtDc9LNI3tQZHEMNbkLIOpeDK8sRSTuT8eMnzGY+O+JImPisfSTjdh+jw9OTznu+MYZjQsv0258sazVKunYg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/types": "^3.973.1",+ "@smithy/types": "^4.12.0",+ "@smithy/url-parser": "^4.2.8",+ "@smithy/util-endpoints": "^3.2.8",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/nested-clients": {+ "version": "3.990.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.990.0.tgz",+ "integrity": "sha512-3NA0s66vsy8g7hPh36ZsUgO4SiMyrhwcYvuuNK1PezO52vX3hXDW4pQrC6OQLGKGJV0o6tbEyQtXb/mPs8zg8w==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-crypto/sha256-browser": "5.2.0",+ "@aws-crypto/sha256-js": "5.2.0",+ "@aws-sdk/core": "^3.973.10",+ "@aws-sdk/middleware-host-header": "^3.972.3",+ "@aws-sdk/middleware-logger": "^3.972.3",+ "@aws-sdk/middleware-recursion-detection": "^3.972.3",+ "@aws-sdk/middleware-user-agent": "^3.972.10",+ "@aws-sdk/region-config-resolver": "^3.972.3",+ "@aws-sdk/types": "^3.973.1",+ "@aws-sdk/util-endpoints": "3.990.0",+ "@aws-sdk/util-user-agent-browser": "^3.972.3",+ "@aws-sdk/util-user-agent-node": "^3.972.8",+ "@smithy/config-resolver": "^4.4.6",+ "@smithy/core": "^3.23.0",+ "@smithy/fetch-http-handler": "^5.3.9",+ "@smithy/hash-node": "^4.2.8",+ "@smithy/invalid-dependency": "^4.2.8",+ "@smithy/middleware-content-length": "^4.2.8",+ "@smithy/middleware-endpoint": "^4.4.14",+ "@smithy/middleware-retry": "^4.4.31",+ "@smithy/middleware-serde": "^4.2.9",+ "@smithy/middleware-stack": "^4.2.8",+ "@smithy/node-config-provider": "^4.3.8",+ "@smithy/node-http-handler": "^4.4.10",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/smithy-client": "^4.11.3",+ "@smithy/types": "^4.12.0",+ "@smithy/url-parser": "^4.2.8",+ "@smithy/util-base64": "^4.3.0",+ "@smithy/util-body-length-browser": "^4.2.0",+ "@smithy/util-body-length-node": "^4.2.1",+ "@smithy/util-defaults-mode-browser": "^4.3.30",+ "@smithy/util-defaults-mode-node": "^4.2.33",+ "@smithy/util-endpoints": "^3.2.8",+ "@smithy/util-middleware": "^4.2.8",+ "@smithy/util-retry": "^4.2.8",+ "@smithy/util-utf8": "^4.2.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints": {+ "version": "3.990.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.990.0.tgz",+ "integrity": "sha512-kVwtDc9LNI3tQZHEMNbkLIOpeDK8sRSTuT8eMnzGY+O+JImPisfSTjdh+jw9OTznu+MYZjQsv0258sazVKunYg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/types": "^3.973.1",+ "@smithy/types": "^4.12.0",+ "@smithy/url-parser": "^4.2.8",+ "@smithy/util-endpoints": "^3.2.8",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/region-config-resolver": {+ "version": "3.972.3",+ "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.972.3.tgz",+ "integrity": "sha512-v4J8qYAWfOMcZ4MJUyatntOicTzEMaU7j3OpkRCGGFSL2NgXQ5VbxauIyORA+pxdKZ0qQG2tCQjQjZDlXEC3Ow==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/types": "^3.973.1",+ "@smithy/config-resolver": "^4.4.6",+ "@smithy/node-config-provider": "^4.3.8",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/token-providers": {+ "version": "3.990.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.990.0.tgz",+ "integrity": "sha512-L3BtUb2v9XmYgQdfGBzbBtKMXaP5fV973y3Qdxeevs6oUTVXFmi/mV1+LnScA/1wVPJC9/hlK+1o5vbt7cG7EQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/core": "^3.973.10",+ "@aws-sdk/nested-clients": "3.990.0",+ "@aws-sdk/types": "^3.973.1",+ "@smithy/property-provider": "^4.2.8",+ "@smithy/shared-ini-file-loader": "^4.4.3",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/types": {+ "version": "3.973.1",+ "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.973.1.tgz",+ "integrity": "sha512-DwHBiMNOB468JiX6+i34c+THsKHErYUdNQ3HexeXZvVn4zouLjgaS4FejiGSi2HyBuzuyHg7SuOPmjSvoU9NRg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/util-endpoints": {+ "version": "3.992.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.992.0.tgz",+ "integrity": "sha512-FHgdMVbTZ2Lu7hEIoGYfkd5UazNSsAgPcupEnh15vsWKFKhuw6w/6tM1k/yNaa7l1wx0Wt1UuK0m+gQ0BJpuvg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/types": "^3.973.1",+ "@smithy/types": "^4.12.0",+ "@smithy/url-parser": "^4.2.8",+ "@smithy/util-endpoints": "^3.2.8",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/util-user-agent-browser": {+ "version": "3.972.3",+ "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.972.3.tgz",+ "integrity": "sha512-JurOwkRUcXD/5MTDBcqdyQ9eVedtAsZgw5rBwktsPTN7QtPiS2Ld1jkJepNgYoCufz1Wcut9iup7GJDoIHp8Fw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/types": "^3.973.1",+ "@smithy/types": "^4.12.0",+ "bowser": "^2.11.0",+ "tslib": "^2.6.2"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/util-user-agent-node": {+ "version": "3.972.8",+ "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.972.8.tgz",+ "integrity": "sha512-XJZuT0LWsFCW1C8dEpPAXSa7h6Pb3krr2y//1X0Zidpcl0vmgY5nL/X0JuBZlntpBzaN3+U4hvKjuijyiiR8zw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@aws-sdk/middleware-user-agent": "^3.972.10",+ "@aws-sdk/types": "^3.973.1",+ "@smithy/node-config-provider": "^4.3.8",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ },+ "peerDependencies": {+ "aws-crt": ">=1.0.0"+ },+ "peerDependenciesMeta": {+ "aws-crt": {+ "optional": true+ }+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@aws-sdk/xml-builder": {+ "version": "3.972.4",+ "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.972.4.tgz",+ "integrity": "sha512-0zJ05ANfYqI6+rGqj8samZBFod0dPPousBjLEqg8WdxSgbMAkRgLyn81lP215Do0rFJ/17LIXwr7q0yK24mP6Q==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/types": "^4.12.0",+ "fast-xml-parser": "5.3.4",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=20.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/abort-controller": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-4.2.8.tgz",+ "integrity": "sha512-peuVfkYHAmS5ybKxWcfraK7WBBP0J+rkfUcbHJJKQ4ir3UAUNQI+Y4Vt/PqSzGqgloJ5O1dk7+WzNL8wcCSXbw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/config-resolver": {+ "version": "4.4.6",+ "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-4.4.6.tgz",+ "integrity": "sha512-qJpzYC64kaj3S0fueiu3kXm8xPrR3PcXDPEgnaNMRn0EjNSZFoFjvbUp0YUDsRhN1CB90EnHJtbxWKevnH99UQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/node-config-provider": "^4.3.8",+ "@smithy/types": "^4.12.0",+ "@smithy/util-config-provider": "^4.2.0",+ "@smithy/util-endpoints": "^3.2.8",+ "@smithy/util-middleware": "^4.2.8",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/core": {+ "version": "3.23.2",+ "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.23.2.tgz",+ "integrity": "sha512-HaaH4VbGie4t0+9nY3tNBRSxVTr96wzIqexUa6C2qx3MPePAuz7lIxPxYtt1Wc//SPfJLNoZJzfdt0B6ksj2jA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/middleware-serde": "^4.2.9",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/types": "^4.12.0",+ "@smithy/util-base64": "^4.3.0",+ "@smithy/util-body-length-browser": "^4.2.0",+ "@smithy/util-middleware": "^4.2.8",+ "@smithy/util-stream": "^4.5.12",+ "@smithy/util-utf8": "^4.2.0",+ "@smithy/uuid": "^1.1.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/credential-provider-imds": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.2.8.tgz",+ "integrity": "sha512-FNT0xHS1c/CPN8upqbMFP83+ul5YgdisfCfkZ86Jh2NSmnqw/AJ6x5pEogVCTVvSm7j9MopRU89bmDelxuDMYw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/node-config-provider": "^4.3.8",+ "@smithy/property-provider": "^4.2.8",+ "@smithy/types": "^4.12.0",+ "@smithy/url-parser": "^4.2.8",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/fetch-http-handler": {+ "version": "5.3.9",+ "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.3.9.tgz",+ "integrity": "sha512-I4UhmcTYXBrct03rwzQX1Y/iqQlzVQaPxWjCjula++5EmWq9YGBrx6bbGqluGc1f0XEfhSkiY4jhLgbsJUMKRA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/querystring-builder": "^4.2.8",+ "@smithy/types": "^4.12.0",+ "@smithy/util-base64": "^4.3.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/hash-node": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-4.2.8.tgz",+ "integrity": "sha512-7ZIlPbmaDGxVoxErDZnuFG18WekhbA/g2/i97wGj+wUBeS6pcUeAym8u4BXh/75RXWhgIJhyC11hBzig6MljwA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/types": "^4.12.0",+ "@smithy/util-buffer-from": "^4.2.0",+ "@smithy/util-utf8": "^4.2.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/invalid-dependency": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-4.2.8.tgz",+ "integrity": "sha512-N9iozRybwAQ2dn9Fot9kI6/w9vos2oTXLhtK7ovGqwZjlOcxu6XhPlpLpC+INsxktqHinn5gS2DXDjDF2kG5sQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/is-array-buffer": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-4.2.0.tgz",+ "integrity": "sha512-DZZZBvC7sjcYh4MazJSGiWMI2L7E0oCiRHREDzIxi/M2LY79/21iXt6aPLHge82wi5LsuRF5A06Ds3+0mlh6CQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/middleware-content-length": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-4.2.8.tgz",+ "integrity": "sha512-RO0jeoaYAB1qBRhfVyq0pMgBoUK34YEJxVxyjOWYZiOKOq2yMZ4MnVXMZCUDenpozHue207+9P5ilTV1zeda0A==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/middleware-endpoint": {+ "version": "4.4.16",+ "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.4.16.tgz",+ "integrity": "sha512-L5GICFCSsNhbJ5JSKeWFGFy16Q2OhoBizb3X2DrxaJwXSEujVvjG9Jt386dpQn2t7jINglQl0b4K/Su69BdbMA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/core": "^3.23.2",+ "@smithy/middleware-serde": "^4.2.9",+ "@smithy/node-config-provider": "^4.3.8",+ "@smithy/shared-ini-file-loader": "^4.4.3",+ "@smithy/types": "^4.12.0",+ "@smithy/url-parser": "^4.2.8",+ "@smithy/util-middleware": "^4.2.8",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/middleware-retry": {+ "version": "4.4.33",+ "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.4.33.tgz",+ "integrity": "sha512-jLqZOdJhtIL4lnA9hXnAG6GgnJlo1sD3FqsTxm9wSfjviqgWesY/TMBVnT84yr4O0Vfe0jWoXlfFbzsBVph3WA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/node-config-provider": "^4.3.8",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/service-error-classification": "^4.2.8",+ "@smithy/smithy-client": "^4.11.5",+ "@smithy/types": "^4.12.0",+ "@smithy/util-middleware": "^4.2.8",+ "@smithy/util-retry": "^4.2.8",+ "@smithy/uuid": "^1.1.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/middleware-serde": {+ "version": "4.2.9",+ "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.2.9.tgz",+ "integrity": "sha512-eMNiej0u/snzDvlqRGSN3Vl0ESn3838+nKyVfF2FKNXFbi4SERYT6PR392D39iczngbqqGG0Jl1DlCnp7tBbXQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/middleware-stack": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-4.2.8.tgz",+ "integrity": "sha512-w6LCfOviTYQjBctOKSwy6A8FIkQy7ICvglrZFl6Bw4FmcQ1Z420fUtIhxaUZZshRe0VCq4kvDiPiXrPZAe8oRA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/node-config-provider": {+ "version": "4.3.8",+ "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.3.8.tgz",+ "integrity": "sha512-aFP1ai4lrbVlWjfpAfRSL8KFcnJQYfTl5QxLJXY32vghJrDuFyPZ6LtUL+JEGYiFRG1PfPLHLoxj107ulncLIg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/property-provider": "^4.2.8",+ "@smithy/shared-ini-file-loader": "^4.4.3",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/node-http-handler": {+ "version": "4.4.10",+ "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.4.10.tgz",+ "integrity": "sha512-u4YeUwOWRZaHbWaebvrs3UhwQwj+2VNmcVCwXcYTvPIuVyM7Ex1ftAj+fdbG/P4AkBwLq/+SKn+ydOI4ZJE9PA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/abort-controller": "^4.2.8",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/querystring-builder": "^4.2.8",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/property-provider": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-4.2.8.tgz",+ "integrity": "sha512-EtCTbyIveCKeOXDSWSdze3k612yCPq1YbXsbqX3UHhkOSW8zKsM9NOJG5gTIya0vbY2DIaieG8pKo1rITHYL0w==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/protocol-http": {+ "version": "5.3.8",+ "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-5.3.8.tgz",+ "integrity": "sha512-QNINVDhxpZ5QnP3aviNHQFlRogQZDfYlCkQT+7tJnErPQbDhysondEjhikuANxgMsZrkGeiAxXy4jguEGsDrWQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/querystring-builder": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-4.2.8.tgz",+ "integrity": "sha512-Xr83r31+DrE8CP3MqPgMJl+pQlLLmOfiEUnoyAlGzzJIrEsbKsPy1hqH0qySaQm4oWrCBlUqRt+idEgunKB+iw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/types": "^4.12.0",+ "@smithy/util-uri-escape": "^4.2.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/querystring-parser": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-4.2.8.tgz",+ "integrity": "sha512-vUurovluVy50CUlazOiXkPq40KGvGWSdmusa3130MwrR1UNnNgKAlj58wlOe61XSHRpUfIIh6cE0zZ8mzKaDPA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/service-error-classification": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-4.2.8.tgz",+ "integrity": "sha512-mZ5xddodpJhEt3RkCjbmUQuXUOaPNTkbMGR0bcS8FE0bJDLMZlhmpgrvPNCYglVw5rsYTpSnv19womw9WWXKQQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/types": "^4.12.0"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/shared-ini-file-loader": {+ "version": "4.4.3",+ "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.4.3.tgz",+ "integrity": "sha512-DfQjxXQnzC5UbCUPeC3Ie8u+rIWZTvuDPAGU/BxzrOGhRvgUanaP68kDZA+jaT3ZI+djOf+4dERGlm9mWfFDrg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/signature-v4": {+ "version": "5.3.8",+ "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.3.8.tgz",+ "integrity": "sha512-6A4vdGj7qKNRF16UIcO8HhHjKW27thsxYci+5r/uVRkdcBEkOEiY8OMPuydLX4QHSrJqGHPJzPRwwVTqbLZJhg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/is-array-buffer": "^4.2.0",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/types": "^4.12.0",+ "@smithy/util-hex-encoding": "^4.2.0",+ "@smithy/util-middleware": "^4.2.8",+ "@smithy/util-uri-escape": "^4.2.0",+ "@smithy/util-utf8": "^4.2.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/smithy-client": {+ "version": "4.11.5",+ "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.11.5.tgz",+ "integrity": "sha512-xixwBRqoeP2IUgcAl3U9dvJXc+qJum4lzo3maaJxifsZxKUYLfVfCXvhT4/jD01sRrHg5zjd1cw2Zmjr4/SuKQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/core": "^3.23.2",+ "@smithy/middleware-endpoint": "^4.4.16",+ "@smithy/middleware-stack": "^4.2.8",+ "@smithy/protocol-http": "^5.3.8",+ "@smithy/types": "^4.12.0",+ "@smithy/util-stream": "^4.5.12",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/url-parser": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-4.2.8.tgz",+ "integrity": "sha512-NQho9U68TGMEU639YkXnVMV3GEFFULmmaWdlu1E9qzyIePOHsoSnagTGSDv1Zi8DCNN6btxOSdgmy5E/hsZwhA==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/querystring-parser": "^4.2.8",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-base64": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-4.3.0.tgz",+ "integrity": "sha512-GkXZ59JfyxsIwNTWFnjmFEI8kZpRNIBfxKjv09+nkAWPt/4aGaEWMM04m4sxgNVWkbt2MdSvE3KF/PfX4nFedQ==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/util-buffer-from": "^4.2.0",+ "@smithy/util-utf8": "^4.2.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-body-length-browser": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-4.2.0.tgz",+ "integrity": "sha512-Fkoh/I76szMKJnBXWPdFkQJl2r9SjPt3cMzLdOB6eJ4Pnpas8hVoWPYemX/peO0yrrvldgCUVJqOAjUrOLjbxg==",+ "license": "Apache-2.0",+ "dependencies": {+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-body-length-node": {+ "version": "4.2.1",+ "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-4.2.1.tgz",+ "integrity": "sha512-h53dz/pISVrVrfxV1iqXlx5pRg3V2YWFcSQyPyXZRrZoZj4R4DeWRDo1a7dd3CPTcFi3kE+98tuNyD2axyZReA==",+ "license": "Apache-2.0",+ "dependencies": {+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-buffer-from": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-4.2.0.tgz",+ "integrity": "sha512-kAY9hTKulTNevM2nlRtxAG2FQ3B2OR6QIrPY3zE5LqJy1oxzmgBGsHLWTcNhWXKchgA0WHW+mZkQrng/pgcCew==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/is-array-buffer": "^4.2.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-config-provider": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-4.2.0.tgz",+ "integrity": "sha512-YEjpl6XJ36FTKmD+kRJJWYvrHeUvm5ykaUS5xK+6oXffQPHeEM4/nXlZPe+Wu0lsgRUcNZiliYNh/y7q9c2y6Q==",+ "license": "Apache-2.0",+ "dependencies": {+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-defaults-mode-browser": {+ "version": "4.3.32",+ "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.3.32.tgz",+ "integrity": "sha512-092sjYfFMQ/iaPH798LY/OJFBcYu0sSK34Oy9vdixhsU36zlZu8OcYjF3TD4e2ARupyK7xaxPXl+T0VIJTEkkg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/property-provider": "^4.2.8",+ "@smithy/smithy-client": "^4.11.5",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-defaults-mode-node": {+ "version": "4.2.35",+ "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.2.35.tgz",+ "integrity": "sha512-miz/ggz87M8VuM29y7jJZMYkn7+IErM5p5UgKIf8OtqVs/h2bXr1Bt3uTsREsI/4nK8a0PQERbAPsVPVNIsG7Q==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/config-resolver": "^4.4.6",+ "@smithy/credential-provider-imds": "^4.2.8",+ "@smithy/node-config-provider": "^4.3.8",+ "@smithy/property-provider": "^4.2.8",+ "@smithy/smithy-client": "^4.11.5",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-endpoints": {+ "version": "3.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-3.2.8.tgz",+ "integrity": "sha512-8JaVTn3pBDkhZgHQ8R0epwWt+BqPSLCjdjXXusK1onwJlRuN69fbvSK66aIKKO7SwVFM6x2J2ox5X8pOaWcUEw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/node-config-provider": "^4.3.8",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-hex-encoding": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-4.2.0.tgz",+ "integrity": "sha512-CCQBwJIvXMLKxVbO88IukazJD9a4kQ9ZN7/UMGBjBcJYvatpWk+9g870El4cB8/EJxfe+k+y0GmR9CAzkF+Nbw==",+ "license": "Apache-2.0",+ "dependencies": {+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-middleware": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-4.2.8.tgz",+ "integrity": "sha512-PMqfeJxLcNPMDgvPbbLl/2Vpin+luxqTGPpW3NAQVLbRrFRzTa4rNAASYeIGjRV9Ytuhzny39SpyU04EQreF+A==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-retry": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-4.2.8.tgz",+ "integrity": "sha512-CfJqwvoRY0kTGe5AkQokpURNCT1u/MkRzMTASWMPPo2hNSnKtF1D45dQl3DE2LKLr4m+PW9mCeBMJr5mCAVThg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/service-error-classification": "^4.2.8",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-stream": {+ "version": "4.5.12",+ "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-4.5.12.tgz",+ "integrity": "sha512-D8tgkrmhAX/UNeCZbqbEO3uqyghUnEmmoO9YEvRuwxjlkKKUE7FOgCJnqpTlQPe9MApdWPky58mNQQHbnCzoNg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/fetch-http-handler": "^5.3.9",+ "@smithy/node-http-handler": "^4.4.10",+ "@smithy/types": "^4.12.0",+ "@smithy/util-base64": "^4.3.0",+ "@smithy/util-buffer-from": "^4.2.0",+ "@smithy/util-hex-encoding": "^4.2.0",+ "@smithy/util-utf8": "^4.2.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-uri-escape": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-4.2.0.tgz",+ "integrity": "sha512-igZpCKV9+E/Mzrpq6YacdTQ0qTiLm85gD6N/IrmyDvQFA4UnU3d5g3m8tMT/6zG/vVkWSU+VxeUyGonL62DuxA==",+ "license": "Apache-2.0",+ "dependencies": {+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-utf8": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-4.2.0.tgz",+ "integrity": "sha512-zBPfuzoI8xyBtR2P6WQj63Rz8i3AmfAaJLuNG8dWsfvPe8lO4aCPYLn879mEgHndZH1zQ2oXmG8O1GGzzaoZiw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/util-buffer-from": "^4.2.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/@smithy/util-waiter": {+ "version": "4.2.8",+ "resolved": "https://registry.npmjs.org/@smithy/util-waiter/-/util-waiter-4.2.8.tgz",+ "integrity": "sha512-n+lahlMWk+aejGuax7DPWtqav8HYnWxQwR+LCG2BgCUmaGcTe9qZCFsmw8TMg9iG75HOwhrJCX9TCJRLH+Yzqg==",+ "license": "Apache-2.0",+ "dependencies": {+ "@smithy/abort-controller": "^4.2.8",+ "@smithy/types": "^4.12.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/fast-xml-parser": {+ "version": "5.3.4",+ "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.3.4.tgz",+ "integrity": "sha512-EFd6afGmXlCx8H8WTZHhAoDaWaGyuIBoZJ2mknrNxug+aZKjkp0a0dlars9Izl+jF+7Gu1/5f/2h68cQpe0IiA==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/NaturalIntelligence"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "strnum": "^2.1.0"+ },+ "bin": {+ "fxparser": "src/cli/cli.js"+ }+ },+ "node_modules/@aws-sdk/client-acm-pca/node_modules/strnum": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.1.2.tgz",+ "integrity": "sha512-l63NF9y/cLROq/yqKXSLtcMeeyOfnSQlfMSlzFt/K73oIaD8DGaQWd7Z34X9GPiKqP5rbSh84Hl4bOlLcjiSrQ==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/NaturalIntelligence"+ }+ ],+ "license": "MIT"+ },"node_modules/@aws-sdk/client-cloudwatch-logs": {"version": "3.632.0","resolved": "https://registry.npmjs.org/@aws-sdk/client-cloudwatch-logs/-/client-cloudwatch-logs-3.632.0.tgz",@@ -667,6 +1823,7 @@"resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.637.0.tgz","integrity": "sha512-xUi7x4qDubtA8QREtlblPuAcn91GS/09YVEY/RwU7xCY0aqGuFwgszAANlha4OUIqva8oVj2WO4gJuG+iaSnhw==","license": "Apache-2.0",+ "peer": true,"dependencies": {"@aws-crypto/sha256-browser": "5.2.0","@aws-crypto/sha256-js": "5.2.0",@@ -4448,6 +5605,7 @@"version": "3.632.0","resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.632.0.tgz","integrity": "sha512-Oh1fIWaoZluihOCb/zDEpRTi+6an82fgJz7fyRBugyLhEtDjmvpCQ3oKjzaOhoN+4EvXAm1ZS/ZgpvXBlIRTgw==",+ "peer": true,"dependencies": {"@aws-crypto/sha256-browser": "5.2.0","@aws-crypto/sha256-js": "5.2.0",@@ -4524,6 +5682,7 @@"version": "3.632.0","resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.632.0.tgz","integrity": "sha512-Ss5cBH09icpTvT+jtGGuQlRdwtO7RyE9BF4ZV/CEPATdd9whtJt4Qxdya8BUnkWR7h5HHTrQHqai3YVYjku41A==",+ "peer": true,"dependencies": {"@aws-crypto/sha256-browser": "5.2.0","@aws-crypto/sha256-js": "5.2.0",@@ -8814,6 +9973,7 @@"integrity": "sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"@ampproject/remapping": "^2.2.0","@babel/code-frame": "^7.26.2",@@ -10862,6 +12022,7 @@"url": "https://opencollective.com/csstools"}],+ "peer": true,"engines": {"node": ">=18"},@@ -10883,6 +12044,7 @@"url": "https://opencollective.com/csstools"}],+ "peer": true,"engines": {"node": ">=18"}@@ -12811,6 +13973,9 @@"win32"]},+ "node_modules/@infisical/quic/node_modules/@infisical/quic-linux-arm": {+ "optional": true+ },"node_modules/@ioredis/commands": {"version": "1.2.0","resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.2.0.tgz",@@ -13523,6 +14688,7 @@"resolved": "https://registry.npmjs.org/zod/-/zod-4.1.13.tgz","integrity": "sha512-AvvthqfqrAhNH9dnfmrfKzX5upOdjUVJYFqNSlkmGf64gRaTzlPwz99IHYnVs28qYAybvAlBV+H7pn0saFY4Ig==","license": "MIT",+ "peer": true,"funding": {"url": "https://github.com/sponsors/colinhacks"}@@ -14229,6 +15395,7 @@"resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.2.1.tgz","integrity": "sha512-dKYCMuPO1bmrpuogcjQ8z7ICCH3FP6WmxpwC03yjzGfZhj9fTJg6+bS1+UAplekbN2C+M61UNllGOOoAfGCrdQ==","license": "MIT",+ "peer": true,"dependencies": {"@octokit/auth-token": "^4.0.0","@octokit/graphql": "^7.1.0",@@ -14672,6 +15839,7 @@"version": "1.9.0","resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz","integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==",+ "peer": true,"engines": {"node": ">=8.0.0"}@@ -15326,6 +16494,7 @@"resolved": "https://registry.npmjs.org/@react-email/body/-/body-0.2.0.tgz","integrity": "sha512-9GCWmVmKUAoRfloboCd+RKm6X17xn7eGL7HnpAZUnjBXBilWCxsKnLMTC/ixSHDKS/A/057M1Tx6ZUXd89sVBw==","license": "MIT",+ "peer": true,"peerDependencies": {"react": "^18.0 || ^19.0 || ^19.0.0-rc"}@@ -15335,6 +16504,7 @@"resolved": "https://registry.npmjs.org/@react-email/button/-/button-0.2.0.tgz","integrity": "sha512-8i+v6cMxr2emz4ihCrRiYJPp2/sdYsNNsBzXStlcA+/B9Umpm5Jj3WJKYpgTPM+aeyiqlG/MMI1AucnBm4f1oQ==","license": "MIT",+ "peer": true,"engines": {"node": ">=18.0.0"},@@ -15347,6 +16517,7 @@"resolved": "https://registry.npmjs.org/@react-email/code-block/-/code-block-0.2.0.tgz","integrity": "sha512-eIrPW9PIFgDopQU0e/OPpwCW2QWQDtNZDSsiN4sJO8KdMnWWnXJicnRfzrit5rHwFo+Y98i+w/Y5ScnBAFr1dQ==","license": "MIT",+ "peer": true,"dependencies": {"prismjs": "^1.30.0"},@@ -15362,6 +16533,7 @@"resolved": "https://registry.npmjs.org/@react-email/code-inline/-/code-inline-0.0.5.tgz","integrity": "sha512-MmAsOzdJpzsnY2cZoPHFPk6uDO/Ncpb4Kh1hAt9UZc1xOW3fIzpe1Pi9y9p6wwUmpaeeDalJxAxH6/fnTquinA==","license": "MIT",+ "peer": true,"engines": {"node": ">=18.0.0"},@@ -15437,6 +16609,7 @@"resolved": "https://registry.npmjs.org/@react-email/container/-/container-0.0.15.tgz","integrity": "sha512-Qo2IQo0ru2kZq47REmHW3iXjAQaKu4tpeq/M8m1zHIVwKduL2vYOBQWbC2oDnMtWPmkBjej6XxgtZByxM6cCFg==","license": "MIT",+ "peer": true,"engines": {"node": ">=18.0.0"},@@ -15470,6 +16643,7 @@"resolved": "https://registry.npmjs.org/@react-email/heading/-/heading-0.0.15.tgz","integrity": "sha512-xF2GqsvBrp/HbRHWEfOgSfRFX+Q8I5KBEIG5+Lv3Vb2R/NYr0s8A5JhHHGf2pWBMJdbP4B2WHgj/VUrhy8dkIg==","license": "MIT",+ "peer": true,"engines": {"node": ">=18.0.0"},@@ -15482,6 +16656,7 @@"resolved": "https://registry.npmjs.org/@react-email/hr/-/hr-0.0.11.tgz","integrity": "sha512-S1gZHVhwOsd1Iad5IFhpfICwNPMGPJidG/Uysy1AwmspyoAP5a4Iw3OWEpINFdgh9MHladbxcLKO2AJO+cA9Lw==","license": "MIT",+ "peer": true,"engines": {"node": ">=18.0.0"},@@ -15506,6 +16681,7 @@"resolved": "https://registry.npmjs.org/@react-email/img/-/img-0.0.11.tgz","integrity": "sha512-aGc8Y6U5C3igoMaqAJKsCpkbm1XjguQ09Acd+YcTKwjnC2+0w3yGUJkjWB2vTx4tN8dCqQCXO8FmdJpMfOA9EQ==","license": "MIT",+ "peer": true,"engines": {"node": ">=18.0.0"},@@ -15518,6 +16694,7 @@"resolved": "https://registry.npmjs.org/@react-email/link/-/link-0.0.12.tgz","integrity": "sha512-vF+xxQk2fGS1CN7UPQDbzvcBGfffr+GjTPNiWM38fhBfsLv6A/YUfaqxWlmL7zLzVmo0K2cvvV9wxlSyNba1aQ==","license": "MIT",+ "peer": true,"engines": {"node": ">=18.0.0"},@@ -15545,6 +16722,7 @@"resolved": "https://registry.npmjs.org/@react-email/preview/-/preview-0.0.13.tgz","integrity": "sha512-F7j9FJ0JN/A4d7yr+aw28p4uX7VLWs7hTHtLo7WRyw4G+Lit6Zucq4UWKRxJC8lpsUdzVmG7aBJnKOT+urqs/w==","license": "MIT",+ "peer": true,"engines": {"node": ">=18.0.0"},@@ -15649,6 +16827,7 @@"resolved": "https://registry.npmjs.org/@react-email/text/-/text-0.1.5.tgz","integrity": "sha512-o5PNHFSE085VMXayxH+SJ1LSOtGsTv+RpNKnTiJDrJUwoBu77G3PlKOsZZQHCNyD28WsQpl9v2WcJLbQudqwPg==","license": "MIT",+ "peer": true,"engines": {"node": ">=18.0.0"},@@ -17763,6 +18942,7 @@"resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.23.tgz","integrity": "sha512-yIdlVVVHXpmqRhtyovZAcSy0MiPcYWGkoO4CGe/+jpP0hmNuihm4XhHbADpK++MsiLHP5MVlv+bcgdF99kSiFQ==","license": "MIT",+ "peer": true,"dependencies": {"undici-types": "~6.21.0"}@@ -18253,6 +19433,7 @@"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.20.0.tgz","integrity": "sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==","dev": true,+ "peer": true,"dependencies": {"@typescript-eslint/scope-manager": "6.20.0","@typescript-eslint/types": "6.20.0",@@ -18711,6 +19892,7 @@"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz","integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==","license": "MIT",+ "peer": true,"bin": {"acorn": "bin/acorn"},@@ -19197,6 +20379,7 @@"resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz","integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==","license": "MIT",+ "peer": true,"dependencies": {"bn.js": "^4.0.0","inherits": "^2.0.1",@@ -19413,6 +20596,7 @@"resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz","integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==","license": "MIT",+ "peer": true,"dependencies": {"follow-redirects": "^1.15.6","form-data": "^4.0.4",@@ -20010,6 +21194,7 @@}],"license": "MIT",+ "peer": true,"dependencies": {"baseline-browser-mapping": "^2.8.9","caniuse-lite": "^1.0.30001746",@@ -21422,6 +22607,7 @@"version": "16.4.1","resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.1.tgz","integrity": "sha512-CjA3y+Dr3FyFDOAMnxZEGtnW9KBR2M0JvvUtXNW+dYJL5ROWxP9DUHCwgFqpMk0OXCc0ljhaNTr2w/kutYIcHQ==",+ "peer": true,"engines": {"node": ">=12"},@@ -21807,6 +22993,7 @@"dev": true,"hasInstallScript": true,"license": "MIT",+ "peer": true,"bin": {"esbuild": "bin/esbuild"},@@ -21889,6 +23076,7 @@"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz","integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==","dev": true,+ "peer": true,"dependencies": {"@eslint-community/eslint-utils": "^4.2.0","@eslint-community/regexpp": "^4.6.1",@@ -21987,6 +23175,7 @@"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz","integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==","dev": true,+ "peer": true,"bin": {"eslint-config-prettier": "bin/cli.js"},@@ -22075,6 +23264,7 @@"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz","integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==","dev": true,+ "peer": true,"dependencies": {"array-includes": "^3.1.7","array.prototype.findlastindex": "^1.2.3",@@ -22486,6 +23676,7 @@"resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz","integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==","license": "MIT",+ "peer": true,"dependencies": {"accepts": "~1.3.8","array-flatten": "1.1.1",@@ -22547,7 +23738,6 @@"resolved": "https://registry.npmjs.org/express-session/-/express-session-1.18.1.tgz","integrity": "sha512-a5mtTqEaZvBCL9A9aqkrtfz+3SMDhOVUnjafjo+s7A9Txkq+SVX2DLvSp1Zrv4uCXa3lMSK3viWnh9Gg07PBUA==","license": "MIT",- "peer": true,"dependencies": {"cookie": "0.7.2","cookie-signature": "1.0.7",@@ -22565,14 +23755,12 @@"node_modules/express-session/node_modules/cookie-signature": {"version": "1.0.7","resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz",- "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==",- "peer": true+ "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA=="},"node_modules/express-session/node_modules/debug": {"version": "2.6.9","resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz","integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",- "peer": true,"dependencies": {"ms": "2.0.0"}@@ -22580,8 +23768,7 @@"node_modules/express-session/node_modules/ms": {"version": "2.0.0","resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",- "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",- "peer": true+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="},"node_modules/express/node_modules/cookie": {"version": "0.7.1",@@ -23425,7 +24612,6 @@"integrity": "sha512-FNTkdNEnBdlqF2oatizolQqNANMrcqJt6AAYt99B3y1aLLC8Hc5IOBb+ZnnzllodEEf6xMBp6wRcBbc16fa65w==","license": "Apache-2.0","optional": true,- "peer": true,"dependencies": {"gaxios": "^5.0.0","json-bigint": "^1.0.0"@@ -23440,7 +24626,6 @@"integrity": "sha512-95hVgBRgEIRQQQHIbnxBXeHbW4TqFk4ZDJW7wmVtvYar72FdhRIo1UGOLS2eRAKCPEdPBWu+M7+A33D9CdX9rA==","license": "Apache-2.0","optional": true,- "peer": true,"dependencies": {"extend": "^3.0.2","https-proxy-agent": "^5.0.0",@@ -29038,7 +30223,6 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz","integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==",- "peer": true,"engines": {"node": ">= 0.8"}@@ -29723,6 +30907,7 @@"version": "3.0.1","resolved": "https://registry.npmjs.org/picomatch/-/picomatch-3.0.1.tgz","integrity": "sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==",+ "peer": true,"engines": {"node": ">=10"},@@ -30065,6 +31250,7 @@}],"license": "MIT",+ "peer": true,"dependencies": {"nanoid": "^3.3.11","picocolors": "^1.1.1",@@ -30154,6 +31340,7 @@"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz","integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==","license": "MIT",+ "peer": true,"bin": {"prettier": "bin/prettier.cjs"},@@ -30588,7 +31775,6 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz","integrity": "sha512-iv7LhNVO047HzYR3InF6pUcUsPQiHTM1Qal51DcGSuZFBil1aBBWG5eHPNek7bvILMaYJ/8RU1e8w1AMdHmLQQ==",- "peer": true,"engines": {"node": ">= 0.8"}@@ -30660,6 +31846,7 @@"resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz","integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==","license": "MIT",+ "peer": true,"engines": {"node": ">=0.10.0"}@@ -30669,6 +31856,7 @@"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.0.tgz","integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==","license": "MIT",+ "peer": true,"dependencies": {"scheduler": "^0.26.0"},@@ -33445,6 +34633,7 @@"resolved": "https://registry.npmjs.org/socks/-/socks-2.8.4.tgz","integrity": "sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==","license": "MIT",+ "peer": true,"dependencies": {"ip-address": "^9.0.5","smart-buffer": "^4.2.0"@@ -34731,6 +35920,7 @@"integrity": "sha512-ytQKuwgmrrkDTFP4LjR0ToE2nqgy886GpvRSpU0JAnrdBYppuY5rLkRUYPU1yCryb24SsKBTL/hlDQAEFVwtZg==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"esbuild": "~0.25.0","get-tsconfig": "^4.7.5"@@ -34897,6 +36087,7 @@"version": "5.3.2","resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.2.tgz","integrity": "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==",+ "peer": true,"bin": {"tsc": "bin/tsc","tsserver": "bin/tsserver"@@ -34937,7 +36128,6 @@"version": "2.1.5","resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz","integrity": "sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==",- "peer": true,"dependencies": {"random-bytes": "~1.0.0"},@@ -35525,6 +36715,7 @@"integrity": "sha512-ZWyE8YXEXqJrrSLvYgrRP7p62OziLW7xI5HYGWFzOvupfAlrLvURSzv/FyGyy0eidogEM3ujU+kUG1zuHgb6Ug==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"esbuild": "^0.25.0","fdir": "^6.5.0",@@ -36134,6 +37325,7 @@"resolved": "https://registry.npmjs.org/zod/-/zod-3.24.3.tgz","integrity": "sha512-HhY1oqzWCQWuUqvBFnsyrtZRhyPeR7SUGv+C4+MsisMuVfSPx8HpwWqH8tRahSlt6M3PiFAcoeFhZAqIXTxoSg==","license": "MIT",+ "peer": true,"funding": {"url": "https://github.com/sponsors/colinhacks"}diff --git a/backend/package.json b/backend/package.jsonindex a16319b029..a498d3c295 100644--- a/backend/package.json+++ b/backend/package.json@@ -124,6 +124,7 @@"vitest": "^3.0.6"},"dependencies": {+ "@aws-sdk/client-acm-pca": "^3.992.0","@aws-sdk/client-elasticache": "^3.637.0","@aws-sdk/client-iam": "^3.525.0","@aws-sdk/client-kms": "^3.609.0",diff --git a/backend/src/ee/services/pki-acme/pki-acme-service.ts b/backend/src/ee/services/pki-acme/pki-acme-service.tsindex b4ae75fce2..12aba4f5de 100644--- a/backend/src/ee/services/pki-acme/pki-acme-service.ts+++ b/backend/src/ee/services/pki-acme/pki-acme-service.ts@@ -938,7 +938,8 @@ export const pkiAcmeServiceFactory = ({signatureAlgorithm: updatedCertificateRequest.signatureAlgorithm || "",keyAlgorithm: updatedCertificateRequest.keyAlgorithm || "",commonName: updatedCertificateRequest.commonName || "",- altNames: updatedCertificateRequest.subjectAlternativeNames?.map((san) => san.value) || [],+ altNames:+ updatedCertificateRequest.subjectAlternativeNames?.map((san) => ({ type: san.type, value: san.value })) || [],keyUsages: updatedCertificateRequest.keyUsages?.map((usage) => usage.toString()) ?? [],extendedKeyUsages: updatedCertificateRequest.extendedKeyUsages?.map((usage) => usage.toString()) ?? [],certificateRequestId: certRequest.id,diff --git a/backend/src/lib/api-docs/constants.ts b/backend/src/lib/api-docs/constants.tsindex e8c911a3ef..19bfd39353 100644--- a/backend/src/lib/api-docs/constants.ts+++ b/backend/src/lib/api-docs/constants.ts@@ -2428,6 +2428,11 @@ export const CertificateAuthorities = {eabKid: `The External Account Binding (EAB) Key ID for the ACME Certificate Authority. Required if the ACME provider uses EAB.`,eabHmacKey: `The External Account Binding (EAB) HMAC key for the ACME Certificate Authority. Required if the ACME provider uses EAB.`},+ AWS_PCA: {+ appConnectionId: `The ID of the AWS App Connection to use for authenticating with AWS Private Certificate Authority (PCA). This connection must have permissions to issue, get, and revoke certificates from the specified PCA.`,+ certificateAuthorityArn: `The ARN of the AWS Private Certificate Authority to use for issuing certificates.`,+ region: `The AWS region where the Private Certificate Authority is located.`+ },INTERNAL: {type: "The type of CA to create.",friendlyName: "A friendly name for the CA.",diff --git a/backend/src/queue/queue-service.ts b/backend/src/queue/queue-service.tsindex 0fa2884eec..885d065f48 100644--- a/backend/src/queue/queue-service.ts+++ b/backend/src/queue/queue-service.ts@@ -419,12 +419,21 @@ export type TQueueJobTypes = {profileId: string;caId: string;commonName?: string;- altNames?: string[];+ altNames?: Array<{ type: string; value: string }>;ttl: string;signatureAlgorithm: string;keyAlgorithm: string;keyUsages?: string[];extendedKeyUsages?: string[];+ isRenewal?: boolean;+ originalCertificateId?: string;+ certificateRequestId?: string;+ csr?: string;+ organization?: string;+ organizationalUnit?: string;+ country?: string;+ state?: string;+ locality?: string;};};[QueueName.DailyReminders]: {diff --git a/backend/src/server/routes/index.ts b/backend/src/server/routes/index.tsindex 6b83eead89..8a9fcd4651 100644--- a/backend/src/server/routes/index.ts+++ b/backend/src/server/routes/index.ts@@ -2346,7 +2346,8 @@ export const registerRoutes = async (pkiCollectionItemDAL,certificateSyncDAL,pkiSyncDAL,- pkiSyncQueue+ pkiSyncQueue,+ certificateAuthorityService});const certificateRequestService = certificateRequestServiceFactory({diff --git a/backend/src/server/routes/v1/certificate-authority-routers/aws-pca-certificate-authority-router.ts b/backend/src/server/routes/v1/certificate-authority-routers/aws-pca-certificate-authority-router.tsnew file mode 100644index 0000000000..b8f7622073--- /dev/null+++ b/backend/src/server/routes/v1/certificate-authority-routers/aws-pca-certificate-authority-router.ts@@ -0,0 +1,18 @@+import {+ AwsPcaCertificateAuthoritySchema,+ CreateAwsPcaCertificateAuthoritySchema,+ UpdateAwsPcaCertificateAuthoritySchema+} from "@app/services/certificate-authority/aws-pca/aws-pca-certificate-authority-schemas";+import { CaType } from "@app/services/certificate-authority/certificate-authority-enums";++import { registerCertificateAuthorityEndpoints } from "./certificate-authority-endpoints";++export const registerAwsPcaCertificateAuthorityRouter = async (server: FastifyZodProvider) => {+ registerCertificateAuthorityEndpoints({+ caType: CaType.AWS_PCA,+ server,+ responseSchema: AwsPcaCertificateAuthoritySchema,+ createSchema: CreateAwsPcaCertificateAuthoritySchema,+ updateSchema: UpdateAwsPcaCertificateAuthoritySchema+ });+};diff --git a/backend/src/server/routes/v1/certificate-authority-routers/general-certificate-authority-router.ts b/backend/src/server/routes/v1/certificate-authority-routers/general-certificate-authority-router.tsindex e05fab13a5..81f36c9e7a 100644--- a/backend/src/server/routes/v1/certificate-authority-routers/general-certificate-authority-router.ts+++ b/backend/src/server/routes/v1/certificate-authority-routers/general-certificate-authority-router.ts@@ -6,6 +6,7 @@ import { readLimit } from "@app/server/config/rateLimiter";import { verifyAuth } from "@app/server/plugins/auth/verify-auth";import { AuthMode } from "@app/services/auth/auth-type";import { AcmeCertificateAuthoritySchema } from "@app/services/certificate-authority/acme/acme-certificate-authority-schemas";+import { AwsPcaCertificateAuthoritySchema } from "@app/services/certificate-authority/aws-pca/aws-pca-certificate-authority-schemas";import { AzureAdCsCertificateAuthoritySchema } from "@app/services/certificate-authority/azure-ad-cs/azure-ad-cs-certificate-authority-schemas";import { CaType } from "@app/services/certificate-authority/certificate-authority-enums";import { InternalCertificateAuthoritySchema } from "@app/services/certificate-authority/internal/internal-certificate-authority-schemas";@@ -13,7 +14,8 @@ import { InternalCertificateAuthoritySchema } from "@app/services/certificate-auconst CertificateAuthoritySchema = z.discriminatedUnion("type", [InternalCertificateAuthoritySchema,AcmeCertificateAuthoritySchema,- AzureAdCsCertificateAuthoritySchema+ AzureAdCsCertificateAuthoritySchema,+ AwsPcaCertificateAuthoritySchema]);export const registerGeneralCertificateAuthorityRouter = async (server: FastifyZodProvider) => {@@ -63,6 +65,14 @@ export const registerGeneralCertificateAuthorityRouter = async (server: FastifyZreq.permission);+ const awsPcaCas = await server.services.certificateAuthority.listCertificateAuthoritiesByProjectId(+ {+ projectId: req.query.projectId,+ type: CaType.AWS_PCA+ },+ req.permission+ );+await server.services.auditLog.createAuditLog({...req.auditLogInfo,projectId: req.query.projectId,@@ -72,14 +82,20 @@ export const registerGeneralCertificateAuthorityRouter = async (server: FastifyZcaIds: [...(internalCas ?? []).map((ca) => ca.id),...(acmeCas ?? []).map((ca) => ca.id),- ...(azureAdCsCas ?? []).map((ca) => ca.id)+ ...(azureAdCsCas ?? []).map((ca) => ca.id),+ ...(awsPcaCas ?? []).map((ca) => ca.id)]}}});return {- certificateAuthorities: [...(internalCas ?? []), ...(acmeCas ?? []), ...(azureAdCsCas ?? [])]+ certificateAuthorities: [+ ...(internalCas ?? []),+ ...(acmeCas ?? []),+ ...(azureAdCsCas ?? []),+ ...(awsPcaCas ?? [])+ ]};}});diff --git a/backend/src/server/routes/v1/certificate-authority-routers/index.ts b/backend/src/server/routes/v1/certificate-authority-routers/index.tsindex d146e68be3..5b87322ac5 100644--- a/backend/src/server/routes/v1/certificate-authority-routers/index.ts+++ b/backend/src/server/routes/v1/certificate-authority-routers/index.ts@@ -1,6 +1,7 @@import { CaType } from "@app/services/certificate-authority/certificate-authority-enums";import { registerAcmeCertificateAuthorityRouter } from "./acme-certificate-authority-router";+import { registerAwsPcaCertificateAuthorityRouter } from "./aws-pca-certificate-authority-router";import { registerAzureAdCsCertificateAuthorityRouter } from "./azure-ad-cs-certificate-authority-router";import { registerInternalCertificateAuthorityRouter } from "./internal-certificate-authority-router";@@ -10,5 +11,6 @@ export const CERTIFICATE_AUTHORITY_REGISTER_ROUTER_MAP: Record<CaType, (server:{[CaType.INTERNAL]: registerInternalCertificateAuthorityRouter,[CaType.ACME]: registerAcmeCertificateAuthorityRouter,- [CaType.AZURE_AD_CS]: registerAzureAdCsCertificateAuthorityRouter+ [CaType.AZURE_AD_CS]: registerAzureAdCsCertificateAuthorityRouter,+ [CaType.AWS_PCA]: registerAwsPcaCertificateAuthorityRouter};diff --git a/backend/src/server/routes/v1/certificate-router.ts b/backend/src/server/routes/v1/certificate-router.tsindex 095eb0656d..20468fffac 100644--- a/backend/src/server/routes/v1/certificate-router.ts+++ b/backend/src/server/routes/v1/certificate-router.ts@@ -228,7 +228,12 @@ export const registerCertificateRouter = async (server: FastifyZodProvider) => {signatureAlgorithm: attributes?.signatureAlgorithm,keyAlgorithm: attributes?.keyAlgorithm,csr,- basicConstraints: attributes?.basicConstraints+ basicConstraints: attributes?.basicConstraints,+ organization: attributes?.organization ?? undefined,+ organizationalUnit: attributes?.organizationalUnit ?? undefined,+ country: attributes?.country ?? undefined,+ state: attributes?.state ?? undefined,+ locality: attributes?.locality ?? undefined};const data = await server.services.certificateV3.orderCertificateFromProfile({diff --git a/backend/src/server/routes/v1/deprecated-certificate-authority-routers/index.ts b/backend/src/server/routes/v1/deprecated-certificate-authority-routers/index.tsindex 69a7836205..5783b3fb26 100644--- a/backend/src/server/routes/v1/deprecated-certificate-authority-routers/index.ts+++ b/backend/src/server/routes/v1/deprecated-certificate-authority-routers/index.ts@@ -6,10 +6,11 @@ import { registerInternalCertificateAuthorityRouter } from "./internal-certificaexport * from "./internal-certificate-authority-router";-export const DEPRECATED_CERTIFICATE_AUTHORITY_REGISTER_ROUTER_MAP: Record<- CaType,- (server: FastifyZodProvider) => Promise<void>-> = {+export const DEPRECATED_CERTIFICATE_AUTHORITY_REGISTER_ROUTER_MAP: {+ [CaType.INTERNAL]: (server: FastifyZodProvider) => Promise<void>;+ [CaType.ACME]: (server: FastifyZodProvider) => Promise<void>;+ [CaType.AZURE_AD_CS]: (server: FastifyZodProvider) => Promise<void>;+} = {[CaType.INTERNAL]: registerInternalCertificateAuthorityRouter,[CaType.ACME]: registerAcmeCertificateAuthorityRouter,[CaType.AZURE_AD_CS]: registerAzureAdCsCertificateAuthorityRouterdiff --git a/backend/src/server/routes/v2/certificate-authority-router.ts b/backend/src/server/routes/v2/certificate-authority-router.tsindex 523ab6777d..e5c9d5fd64 100644--- a/backend/src/server/routes/v2/certificate-authority-router.ts+++ b/backend/src/server/routes/v2/certificate-authority-router.ts@@ -6,6 +6,7 @@ import { readLimit } from "@app/server/config/rateLimiter";import { verifyAuth } from "@app/server/plugins/auth/verify-auth";import { AuthMode } from "@app/services/auth/auth-type";import { AcmeCertificateAuthoritySchema } from "@app/services/certificate-authority/acme/acme-certificate-authority-schemas";+import { AwsPcaCertificateAuthoritySchema } from "@app/services/certificate-authority/aws-pca/aws-pca-certificate-authority-schemas";import { AzureAdCsCertificateAuthoritySchema } from "@app/services/certificate-authority/azure-ad-cs/azure-ad-cs-certificate-authority-schemas";import { CaType } from "@app/services/certificate-authority/certificate-authority-enums";import { InternalCertificateAuthoritySchema } from "@app/services/certificate-authority/internal/internal-certificate-authority-schemas";@@ -13,7 +14,8 @@ import { InternalCertificateAuthoritySchema } from "@app/services/certificate-auconst CertificateAuthoritySchema = z.discriminatedUnion("type", [InternalCertificateAuthoritySchema,AcmeCertificateAuthoritySchema,- AzureAdCsCertificateAuthoritySchema+ AzureAdCsCertificateAuthoritySchema,+ AwsPcaCertificateAuthoritySchema]);export const registerCaRouter = async (server: FastifyZodProvider) => {@@ -63,6 +65,14 @@ export const registerCaRouter = async (server: FastifyZodProvider) => {req.permission);+ const awsPcaCas = await server.services.certificateAuthority.listCertificateAuthoritiesByProjectId(+ {+ projectId: req.query.projectId,+ type: CaType.AWS_PCA+ },+ req.permission+ );+await server.services.auditLog.createAuditLog({...req.auditLogInfo,projectId: req.query.projectId,@@ -72,14 +82,20 @@ export const registerCaRouter = async (server: FastifyZodProvider) => {caIds: [...(internalCas ?? []).map((ca) => ca.id),...(acmeCas ?? []).map((ca) => ca.id),- ...(azureAdCsCas ?? []).map((ca) => ca.id)+ ...(azureAdCsCas ?? []).map((ca) => ca.id),+ ...(awsPcaCas ?? []).map((ca) => ca.id)]}}});return {- certificateAuthorities: [...(internalCas ?? []), ...(acmeCas ?? []), ...(azureAdCsCas ?? [])]+ certificateAuthorities: [+ ...(internalCas ?? []),+ ...(acmeCas ?? []),+ ...(azureAdCsCas ?? []),+ ...(awsPcaCas ?? [])+ ]};}});diff --git a/backend/src/services/certificate-authority/aws-pca/aws-pca-certificate-authority-enums.ts b/backend/src/services/certificate-authority/aws-pca/aws-pca-certificate-authority-enums.tsnew file mode 100644index 0000000000..b531125108--- /dev/null+++ b/backend/src/services/certificate-authority/aws-pca/aws-pca-certificate-authority-enums.ts@@ -0,0 +1,43 @@+import { RevocationReason, SigningAlgorithm } from "@aws-sdk/client-acm-pca";++import { CrlReason } from "@app/services/certificate/certificate-types";++/**+ * Maps an AWS PCA CA key algorithm (as returned by DescribeCertificateAuthority)+ * to a default signing algorithm compatible with that key type.+ *+ * The SigningAlgorithm in IssueCertificateCommand must match the CA's key type,+ * NOT the leaf certificate's key type.+ */+export const CA_KEY_ALGORITHM_TO_SIGNING_ALGORITHM_MAP: Record<string, SigningAlgorithm> = {+ RSA_2048: SigningAlgorithm.SHA256WITHRSA,+ RSA_3072: SigningAlgorithm.SHA384WITHRSA,+ RSA_4096: SigningAlgorithm.SHA512WITHRSA,+ EC_prime256v1: SigningAlgorithm.SHA256WITHECDSA,+ EC_secp384r1: SigningAlgorithm.SHA384WITHECDSA,+ EC_secp521r1: SigningAlgorithm.SHA512WITHECDSA+};++/**+ * Maps Infisical CRL reasons to AWS PCA revocation reasons.+ */+export const CRL_REASON_TO_REVOCATION_REASON_MAP: Record<CrlReason, RevocationReason> = {+ [CrlReason.UNSPECIFIED]: RevocationReason.UNSPECIFIED,+ [CrlReason.KEY_COMPROMISE]: RevocationReason.KEY_COMPROMISE,+ [CrlReason.CA_COMPROMISE]: RevocationReason.CERTIFICATE_AUTHORITY_COMPROMISE,+ [CrlReason.AFFILIATION_CHANGED]: RevocationReason.AFFILIATION_CHANGED,+ [CrlReason.SUPERSEDED]: RevocationReason.SUPERSEDED,+ [CrlReason.CESSATION_OF_OPERATION]: RevocationReason.CESSATION_OF_OPERATION,+ [CrlReason.CERTIFICATE_HOLD]: RevocationReason.UNSPECIFIED, // AWS PCA doesn't have CERTIFICATE_HOLD+ [CrlReason.PRIVILEGE_WITHDRAWN]: RevocationReason.PRIVILEGE_WITHDRAWN,+ [CrlReason.A_A_COMPROMISE]: RevocationReason.A_A_COMPROMISE+};++/**+ * The API+CSR passthrough template ARN for AWS PCA.+ * Extensions supplied via the ApiPassthrough parameter take precedence over+ * those in the CSR, which lets us control SAN criticality (RFC 5280 requires+ * SANs to be critical when the subject is empty — e.g. certbot CSRs).+ */+export const API_CSR_PASSTHROUGH_TEMPLATE_ARN =+ "arn:aws:acm-pca:::template/BlankEndEntityCertificate_APICSRPassthrough/V1";diff --git a/backend/src/services/certificate-authority/aws-pca/aws-pca-certificate-authority-fns.ts b/backend/src/services/certificate-authority/aws-pca/aws-pca-certificate-authority-fns.tsnew file mode 100644index 0000000000..8ce07744cf--- /dev/null+++ b/backend/src/services/certificate-authority/aws-pca/aws-pca-certificate-authority-fns.ts@@ -0,0 +1,851 @@+/* eslint-disable no-await-in-loop */+import {+ ACMPCAClient,+ CertificateAuthorityStatus,+ DescribeCertificateAuthorityCommand,+ GetCertificateCommand,+ IssueCertificateCommand,+ RequestInProgressException,+ RevokeCertificateCommand,+ ValidityPeriodType+} from "@aws-sdk/client-acm-pca";+import * as x509 from "@peculiar/x509";+import RE2 from "re2";++import { TableName } from "@app/db/schemas";+import { CustomAWSHasher } from "@app/lib/aws/hashing";+import { crypto } from "@app/lib/crypto/cryptography";+import { BadRequestError, NotFoundError } from "@app/lib/errors";+import { ProcessedPermissionRules } from "@app/lib/knex/permission-filter-utils";+import { logger } from "@app/lib/logger";+import { OrgServiceActor } from "@app/lib/types";+import { TAppConnectionDALFactory } from "@app/services/app-connection/app-connection-dal";+import { AppConnection, AWSRegion } from "@app/services/app-connection/app-connection-enums";+import { decryptAppConnection } from "@app/services/app-connection/app-connection-fns";+import { TAppConnectionServiceFactory } from "@app/services/app-connection/app-connection-service";+import { getAwsConnectionConfig } from "@app/services/app-connection/aws/aws-connection-fns";+import { TAwsConnection } from "@app/services/app-connection/aws/aws-connection-types";+import { TCertificateBodyDALFactory } from "@app/services/certificate/certificate-body-dal";+import { TCertificateDALFactory } from "@app/services/certificate/certificate-dal";+import { extractCertificateFields } from "@app/services/certificate/certificate-fns";+import { TCertificateSecretDALFactory } from "@app/services/certificate/certificate-secret-dal";+import {+ CertExtendedKeyUsage,+ CertKeyAlgorithm,+ CertKeyUsage,+ CertStatus,+ CertSubjectAlternativeNameType,+ CrlReason,+ mapSanTypeToX509Type+} from "@app/services/certificate/certificate-types";+import { TCertificateProfileDALFactory } from "@app/services/certificate-profile/certificate-profile-dal";+import { TKmsServiceFactory } from "@app/services/kms/kms-service";+import { TProjectDALFactory } from "@app/services/project/project-dal";+import { getProjectKmsCertificateKeyId } from "@app/services/project/project-fns";++import { TCertificateAuthorityDALFactory } from "../certificate-authority-dal";+import { CaStatus, CaType } from "../certificate-authority-enums";+import { keyAlgorithmToAlgCfg } from "../certificate-authority-fns";+import { TExternalCertificateAuthorityDALFactory } from "../external-certificate-authority-dal";+import {+ API_CSR_PASSTHROUGH_TEMPLATE_ARN,+ CA_KEY_ALGORITHM_TO_SIGNING_ALGORITHM_MAP,+ CRL_REASON_TO_REVOCATION_REASON_MAP+} from "./aws-pca-certificate-authority-enums";+import {+ TAwsPcaCertificateAuthority,+ TCreateAwsPcaCertificateAuthorityDTO,+ TUpdateAwsPcaCertificateAuthorityDTO+} from "./aws-pca-certificate-authority-types";++const base64UrlToBase64 = (base64url: string): string => {+ let base64 = base64url.replace(new RE2(/-/g), "+").replace(new RE2(/_/g), "/");++ const padding = base64.length % 4;+ if (padding === 2) {+ base64 += "==";+ } else if (padding === 3) {+ base64 += "=";+ }++ return base64;+};++const ensureCsrPemFormat = (csr: string): string => {+ const trimmedCsr = csr.trim();++ if (+ trimmedCsr.includes("-----BEGIN CERTIFICATE REQUEST-----") ||+ trimmedCsr.includes("-----BEGIN NEW CERTIFICATE REQUEST-----")+ ) {+ return trimmedCsr;+ }++ const standardBase64 = base64UrlToBase64(trimmedCsr);++ const base64Lines = standardBase64.match(new RE2(".{1,64}", "g")) || [standardBase64];+ return `-----BEGIN CERTIFICATE REQUEST-----\n${base64Lines.join("\n")}\n-----END CERTIFICATE REQUEST-----`;+};++const parseTtlToDays = (ttl: string): number => {+ const match = ttl.match(new RE2("^(\\d+)([dhm])$"));+ if (!match) {+ throw new BadRequestError({ message: `Invalid TTL format: ${ttl}` });+ }++ const [, value, unit] = match;+ const num = parseInt(value, 10);++ switch (unit) {+ case "d":+ return num;+ case "h":+ return Math.ceil(num / 24);+ case "m":+ return Math.ceil(num / (24 * 60));+ default:+ throw new BadRequestError({ message: `Invalid TTL unit: ${unit}` });+ }+};++const calculateFinalRenewBeforeDays = (+ profile: { apiConfig?: { autoRenew?: boolean; renewBeforeDays?: number } } | undefined,+ ttl: string+): number | undefined => {+ const hasAutoRenewEnabled = profile?.apiConfig?.autoRenew === true;+ if (!hasAutoRenewEnabled) {+ return undefined;+ }++ const profileRenewBeforeDays = profile?.apiConfig?.renewBeforeDays;+ if (profileRenewBeforeDays !== undefined) {+ const certificateTtlInDays = parseTtlToDays(ttl);+ if (profileRenewBeforeDays >= certificateTtlInDays) {+ return Math.max(1, certificateTtlInDays - 1);+ }+ return profileRenewBeforeDays;+ }++ return undefined;+};++type TAwsPcaCertificateAuthorityFnsDeps = {+ appConnectionDAL: Pick<TAppConnectionDALFactory, "findById" | "updateById">;+ appConnectionService: Pick<TAppConnectionServiceFactory, "validateAppConnectionUsageById">;+ certificateAuthorityDAL: Pick<+ TCertificateAuthorityDALFactory,+ "create" | "transaction" | "findByIdWithAssociatedCa" | "updateById" | "findWithAssociatedCa" | "findById"+ >;+ externalCertificateAuthorityDAL: Pick<TExternalCertificateAuthorityDALFactory, "create" | "update">;+ certificateDAL: Pick<TCertificateDALFactory, "create" | "transaction" | "updateById">;+ certificateBodyDAL: Pick<TCertificateBodyDALFactory, "create">;+ certificateSecretDAL: Pick<TCertificateSecretDALFactory, "create">;+ kmsService: Pick<+ TKmsServiceFactory,+ "encryptWithKmsKey" | "generateKmsKey" | "createCipherPairWithDataKey" | "decryptWithKmsKey"+ >;+ projectDAL: Pick<TProjectDALFactory, "findById" | "findOne" | "updateById" | "transaction">;+ certificateProfileDAL?: Pick<TCertificateProfileDALFactory, "findById">;+};++/**+ * Creates an ACMPCAClient from an app connection ID by decrypting credentials+ * and resolving AWS configuration.+ */+const createPcaClient = async ({+ appConnectionId,+ region,+ appConnectionDAL,+ kmsService+}: {+ appConnectionId: string;+ region: AWSRegion;+ appConnectionDAL: Pick<TAppConnectionDALFactory, "findById">;+ kmsService: Pick<+ TKmsServiceFactory,+ "encryptWithKmsKey" | "generateKmsKey" | "createCipherPairWithDataKey" | "decryptWithKmsKey"+ >;+}) => {+ const appConnection = await appConnectionDAL.findById(appConnectionId);+ if (!appConnection) {+ throw new NotFoundError({ message: `App connection with ID '${appConnectionId}' not found` });+ }++ const decryptedConnection = (await decryptAppConnection(appConnection, kmsService)) as TAwsConnection;+ const awsConfig = await getAwsConnectionConfig(decryptedConnection, region);++ return new ACMPCAClient({+ sha256: CustomAWSHasher,+ useFipsEndpoint: crypto.isFipsModeEnabled(),+ credentials: awsConfig.credentials!,+ region: awsConfig.region+ });+};++/**+ * Polls GetCertificateCommand with exponential backoff until the certificate is ready.+ */+const pollForCertificate = async (+ pcaClient: ACMPCAClient,+ certificateAuthorityArn: string,+ certificateArn: string+): Promise<{ certificate: string; certificateChain: string }> => {+ const maxRetries = 10;+ const initialDelayMs = 1000;++ for (let attempt = 0; attempt < maxRetries; attempt += 1) {+ try {+ const result = await pcaClient.send(+ new GetCertificateCommand({+ CertificateAuthorityArn: certificateAuthorityArn,+ CertificateArn: certificateArn+ })+ );++ if (result.Certificate) {+ return {+ certificate: result.Certificate,+ certificateChain: result.CertificateChain || ""+ };+ }+ } catch (error) {+ if (error instanceof RequestInProgressException) {+ // Certificate not yet issued, wait and retry+ const delay = initialDelayMs * 2 ** attempt;+ await new Promise((resolve) => {+ setTimeout(resolve, delay);+ });+ // eslint-disable-next-line no-continue+ continue;+ }+ throw error;+ }++ // Delay between retries+ const delay = initialDelayMs * 2 ** attempt;+ await new Promise((resolve) => {+ setTimeout(resolve, delay);+ });+ }++ throw new BadRequestError({+ message: `Certificate was not ready after ${maxRetries} polling attempts. The certificate ARN is ${certificateArn} — it may still be processing.`+ });+};++/**+ * Queries the CA's key algorithm via DescribeCertificateAuthority and returns+ * a compatible signing algorithm. The signing algorithm in IssueCertificateCommand+ * must match the CA's key type, not the leaf certificate's key type.+ */+const getSigningAlgorithmForCa = async (pcaClient: ACMPCAClient, certificateAuthorityArn: string) => {+ const describeResult = await pcaClient.send(+ new DescribeCertificateAuthorityCommand({+ CertificateAuthorityArn: certificateAuthorityArn+ })+ );++ const caKeyAlgorithm = describeResult.CertificateAuthority?.CertificateAuthorityConfiguration?.KeyAlgorithm;++ if (!caKeyAlgorithm) {+ throw new BadRequestError({+ message: "Could not determine the CA's key algorithm from AWS PCA"+ });+ }++ const signingAlgorithm = CA_KEY_ALGORITHM_TO_SIGNING_ALGORITHM_MAP[caKeyAlgorithm];+ if (!signingAlgorithm) {+ throw new BadRequestError({+ message: `Unsupported CA key algorithm: ${caKeyAlgorithm}`+ });+ }++ return signingAlgorithm;+};++export const castDbEntryToAwsPcaCertificateAuthority = (+ ca: Awaited<ReturnType<TCertificateAuthorityDALFactory["findByIdWithAssociatedCa"]>>+): TAwsPcaCertificateAuthority => {+ if (!ca.externalCa?.id) {+ throw new BadRequestError({ message: "Malformed AWS Private Certificate Authority" });+ }++ if (!ca.externalCa.appConnectionId) {+ throw new BadRequestError({+ message: "AWS app connection ID is missing from certificate authority configuration"+ });+ }++ const configuration = ca.externalCa.configuration as {+ certificateAuthorityArn: string;+ region: AWSRegion;+ };++ if (!configuration.certificateAuthorityArn || !configuration.region) {+ throw new BadRequestError({+ message: "AWS PCA configuration is incomplete — missing ARN or region"+ });+ }++ return {+ id: ca.id,+ type: CaType.AWS_PCA,+ enableDirectIssuance: ca.enableDirectIssuance,+ name: ca.name,+ projectId: ca.projectId,+ configuration: {+ appConnectionId: ca.externalCa.appConnectionId,+ certificateAuthorityArn: configuration.certificateAuthorityArn,+ region: configuration.region+ },+ status: ca.status as CaStatus+ };+};++export const AwsPcaCertificateAuthorityFns = ({+ appConnectionDAL,+ appConnectionService,+ certificateAuthorityDAL,+ externalCertificateAuthorityDAL,+ certificateDAL,+ certificateBodyDAL,+ certificateSecretDAL,+ kmsService,+ projectDAL,+ certificateProfileDAL+}: TAwsPcaCertificateAuthorityFnsDeps) => {+ const createCertificateAuthority = async ({+ name,+ projectId,+ configuration,+ actor,+ status+ }: {+ status: CaStatus;+ name: string;+ projectId: string;+ configuration: TCreateAwsPcaCertificateAuthorityDTO["configuration"];+ actor: OrgServiceActor;+ }) => {+ const { appConnectionId, certificateAuthorityArn, region } = configuration;++ const appConnection = await appConnectionDAL.findById(appConnectionId);+ if (!appConnection) {+ throw new NotFoundError({ message: `App connection with ID '${appConnectionId}' not found` });+ }++ if (appConnection.app !== AppConnection.AWS) {+ throw new BadRequestError({+ message: `App connection with ID '${appConnectionId}' is not an AWS connection`+ });+ }++ await appConnectionService.validateAppConnectionUsageById(+ appConnection.app as AppConnection,+ { connectionId: appConnectionId, projectId },+ actor+ );++ // Verify the CA exists and is ACTIVE in AWS+ const pcaClient = await createPcaClient({ appConnectionId, region, appConnectionDAL, kmsService });+ const describeResult = await pcaClient.send(+ new DescribeCertificateAuthorityCommand({+ CertificateAuthorityArn: certificateAuthorityArn+ })+ );++ if (describeResult.CertificateAuthority?.Status !== CertificateAuthorityStatus.ACTIVE) {+ throw new BadRequestError({+ message: `AWS Private CA '${certificateAuthorityArn}' is not ACTIVE (current status: ${describeResult.CertificateAuthority?.Status || "unknown"})`+ });+ }++ const caEntity = await certificateAuthorityDAL.transaction(async (tx) => {+ try {+ const ca = await certificateAuthorityDAL.create(+ {+ projectId,+ enableDirectIssuance: false,+ name,+ status+ },+ tx+ );++ await externalCertificateAuthorityDAL.create(+ {+ caId: ca.id,+ appConnectionId,+ type: CaType.AWS_PCA,+ configuration: {+ certificateAuthorityArn,+ region+ }+ },+ tx+ );++ return await certificateAuthorityDAL.findByIdWithAssociatedCa(ca.id, tx);+ } catch (error) {+ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any+ if ((error as any)?.error?.code === "23505") {+ throw new BadRequestError({+ message: "Certificate authority with the same name already exists in your project"+ });+ }+ throw error;+ }+ });++ if (!caEntity.externalCa?.id) {+ throw new BadRequestError({ message: "Failed to create external certificate authority" });+ }++ return castDbEntryToAwsPcaCertificateAuthority(caEntity);+ };++ const updateCertificateAuthority = async ({+ id,+ status,+ configuration,+ actor,+ name+ }: {+ id: string;+ status?: CaStatus;+ configuration: TUpdateAwsPcaCertificateAuthorityDTO["configuration"];+ actor: OrgServiceActor;+ name?: string;+ }) => {+ const updatedCa = await certificateAuthorityDAL.transaction(async (tx) => {+ if (configuration) {+ const { appConnectionId, certificateAuthorityArn, region } = configuration;++ const appConnection = await appConnectionDAL.findById(appConnectionId);+ if (!appConnection) {+ throw new NotFoundError({ message: `App connection with ID '${appConnectionId}' not found` });+ }++ if (appConnection.app !== AppConnection.AWS) {+ throw new BadRequestError({+ message: `App connection with ID '${appConnectionId}' is not an AWS connection`+ });+ }++ const ca = await certificateAuthorityDAL.findById(id);+ if (!ca) {+ throw new NotFoundError({ message: `Could not find Certificate Authority with ID "${id}"` });+ }++ await appConnectionService.validateAppConnectionUsageById(+ appConnection.app as AppConnection,+ { connectionId: appConnectionId, projectId: ca.projectId },+ actor+ );++ // Verify the new CA exists and is ACTIVE in AWS+ const pcaClient = await createPcaClient({ appConnectionId, region, appConnectionDAL, kmsService });+ const describeResult = await pcaClient.send(+ new DescribeCertificateAuthorityCommand({+ CertificateAuthorityArn: certificateAuthorityArn+ })+ );++ if (describeResult.CertificateAuthority?.Status !== CertificateAuthorityStatus.ACTIVE) {+ throw new BadRequestError({+ message: `AWS Private CA '${certificateAuthorityArn}' is not ACTIVE (current status: ${describeResult.CertificateAuthority?.Status || "unknown"})`+ });+ }++ await externalCertificateAuthorityDAL.update(+ {+ caId: id,+ type: CaType.AWS_PCA+ },+ {+ appConnectionId,+ configuration: {+ certificateAuthorityArn,+ region+ }+ },+ tx+ );+ }++ if (name || status) {+ await certificateAuthorityDAL.updateById(+ id,+ {+ name,+ status+ },+ tx+ );+ }++ return certificateAuthorityDAL.findByIdWithAssociatedCa(id, tx);+ });++ if (!updatedCa.externalCa?.id) {+ throw new BadRequestError({ message: "Failed to update external certificate authority" });+ }++ return castDbEntryToAwsPcaCertificateAuthority(updatedCa);+ };++ const listCertificateAuthorities = async ({+ projectId,+ permissionFilters+ }: {+ projectId: string;+ permissionFilters?: ProcessedPermissionRules;+ }) => {+ const cas = await certificateAuthorityDAL.findWithAssociatedCa(+ {+ [`${TableName.CertificateAuthority}.projectId` as "projectId"]: projectId,+ [`${TableName.ExternalCertificateAuthority}.type` as "type"]: CaType.AWS_PCA+ },+ {},+ permissionFilters+ );++ return cas.map(castDbEntryToAwsPcaCertificateAuthority);+ };++ const orderCertificateFromProfile = async ({+ caId,+ profileId,+ commonName,+ altNames = [],+ keyUsages = [],+ extendedKeyUsages = [],+ validity,+ notBefore,+ notAfter,+ signatureAlgorithm,+ keyAlgorithm = CertKeyAlgorithm.RSA_2048,+ isRenewal,+ originalCertificateId,+ csr,+ organization,+ organizationalUnit,+ country,+ state,+ locality+ }: {+ caId: string;+ profileId: string;+ commonName: string;+ altNames?: Array<{ type: CertSubjectAlternativeNameType; value: string }>;+ keyUsages?: CertKeyUsage[];+ extendedKeyUsages?: CertExtendedKeyUsage[];+ validity: { ttl: string };+ notBefore?: Date;+ notAfter?: Date;+ signatureAlgorithm?: string;+ keyAlgorithm?: CertKeyAlgorithm;+ isRenewal?: boolean;+ originalCertificateId?: string;+ csr?: string;+ organization?: string;+ organizationalUnit?: string;+ country?: string;+ state?: string;+ locality?: string;+ }) => {+ const ca = await certificateAuthorityDAL.findByIdWithAssociatedCa(caId);+ if (!ca.externalCa || ca.externalCa.type !== CaType.AWS_PCA) {+ throw new BadRequestError({ message: "CA is not an AWS Private Certificate Authority" });+ }++ const awsPcaCa = castDbEntryToAwsPcaCertificateAuthority(ca);+ if (awsPcaCa.status !== CaStatus.ACTIVE) {+ throw new BadRequestError({ message: "CA is disabled" });+ }++ const { appConnectionId, certificateAuthorityArn, region } = awsPcaCa.configuration;++ const certificateManagerKmsId = await getProjectKmsCertificateKeyId({+ projectId: ca.projectId,+ projectDAL,+ kmsService+ });++ const kmsEncryptor = await kmsService.encryptWithKmsKey({+ kmsId: certificateManagerKmsId+ });++ const pcaClient = await createPcaClient({ appConnectionId, region, appConnectionDAL, kmsService });++ // Get signing algorithm from the CA's key type (not the leaf key type)+ const awsSigningAlgorithm = await getSigningAlgorithmForCa(pcaClient, certificateAuthorityArn);++ let csrPem: string;+ let skLeaf: string | undefined;++ if (csr) {+ // CSR provided — use it directly, no keypair generation+ csrPem = ensureCsrPemFormat(csr);+ skLeaf = undefined;+ } else {+ // No CSR — generate keypair and build CSR with full subject DN+ const alg = keyAlgorithmToAlgCfg(keyAlgorithm);+ const leafKeys = await crypto.nativeCrypto.subtle.generateKey(alg, true, ["sign", "verify"]);+ const skLeafObj = crypto.nativeCrypto.KeyObject.from(leafKeys.privateKey);+ skLeaf = skLeafObj.export({ format: "pem", type: "pkcs8" }) as string;++ // Build CSR extensions+ const extensions: x509.Extension[] = [];+ if (altNames && altNames.length > 0) {+ // RFC 5280: SAN must be critical when the subject is empty+ const isSanCritical = !commonName;+ extensions.push(+ new x509.SubjectAlternativeNameExtension(+ altNames.map((san) => ({ type: mapSanTypeToX509Type(san.type), value: san.value })),+ isSanCritical+ )+ );+ }++ if (keyUsages && keyUsages.length > 0) {+ // eslint-disable-next-line no-bitwise+ const keyUsagesBitValue = keyUsages.reduce((accum, ku) => accum | x509.KeyUsageFlags[ku], 0);+ if (keyUsagesBitValue) {+ extensions.push(new x509.KeyUsagesExtension(keyUsagesBitValue, true));+ }+ }++ if (extendedKeyUsages && extendedKeyUsages.length > 0) {+ extensions.push(+ new x509.ExtendedKeyUsageExtension(+ extendedKeyUsages.map((eku) => x509.ExtendedKeyUsage[eku]),+ true+ )+ );+ }++ const dnParts: string[] = [];+ if (commonName) dnParts.push(`CN=${commonName}`);+ if (organization) dnParts.push(`O=${organization}`);+ if (organizationalUnit) dnParts.push(`OU=${organizationalUnit}`);+ if (locality) dnParts.push(`L=${locality}`);+ if (state) dnParts.push(`ST=${state}`);+ if (country) dnParts.push(`C=${country}`);+ const subjectDn = dnParts.join(", ") || `CN=${commonName}`;++ const csrObj = await x509.Pkcs10CertificateRequestGenerator.create({+ name: subjectDn,+ keys: leafKeys,+ signingAlgorithm: alg,+ ...(extensions.length > 0 && { extensions })+ });++ csrPem = csrObj.toString("pem");+ }++ let validityDays: number;+ if (notBefore && notAfter) {+ if (notAfter <= notBefore) {+ throw new BadRequestError({ message: "Certificate notAfter date must be after notBefore date" });+ }+ const diffMs = notAfter.getTime() - notBefore.getTime();+ validityDays = Math.max(1, Math.floor(diffMs / (1000 * 60 * 60 * 24)));+ } else if (notAfter) {+ const diffMs = notAfter.getTime() - Date.now();+ if (diffMs <= 0) {+ throw new BadRequestError({ message: "Certificate notAfter date must be in the future" });+ }+ validityDays = Math.max(1, Math.floor(diffMs / (1000 * 60 * 60 * 24)));+ } else {+ validityDays = parseTtlToDays(validity.ttl);+ }++ const sanToGeneralName = (san: { type: CertSubjectAlternativeNameType; value: string }) => {+ switch (san.type) {+ case CertSubjectAlternativeNameType.DNS_NAME:+ return { DnsName: san.value };+ case CertSubjectAlternativeNameType.IP_ADDRESS:+ return { IpAddress: san.value };+ case CertSubjectAlternativeNameType.EMAIL:+ return { Rfc822Name: san.value };+ case CertSubjectAlternativeNameType.URI:+ return { UniformResourceIdentifier: san.value };+ default:+ return { DnsName: san.value };+ }+ };++ const issueResult = await pcaClient.send(+ new IssueCertificateCommand({+ CertificateAuthorityArn: certificateAuthorityArn,+ Csr: Buffer.from(csrPem),+ SigningAlgorithm: awsSigningAlgorithm,+ TemplateArn: API_CSR_PASSTHROUGH_TEMPLATE_ARN,+ ...(altNames &&+ altNames.length > 0 && {+ ApiPassthrough: {+ Extensions: {+ SubjectAlternativeNames: altNames.map(sanToGeneralName)+ }+ }+ }),+ Validity: {+ Type: ValidityPeriodType.DAYS,+ Value: validityDays+ }+ })+ );++ if (!issueResult.CertificateArn) {+ throw new BadRequestError({ message: "AWS PCA did not return a certificate ARN" });+ }++ // Poll for the certificate+ const { certificate: certificatePem, certificateChain: certificateChainPem } = await pollForCertificate(+ pcaClient,+ certificateAuthorityArn,+ issueResult.CertificateArn+ );++ let certObj: x509.X509Certificate;+ try {+ certObj = new x509.X509Certificate(certificatePem);+ } catch (error) {+ throw new BadRequestError({+ message: `Failed to parse certificate from AWS PCA: ${error instanceof Error ? error.message : "Unknown error"}`+ });+ }++ const { cipherTextBlob: encryptedCertificate } = await kmsEncryptor({+ plainText: Buffer.from(new Uint8Array(certObj.rawData))+ });++ const { cipherTextBlob: encryptedCertificateChain } = await kmsEncryptor({+ plainText: Buffer.from(certificateChainPem)+ });++ let certificateId: string;++ const parsedFields = extractCertificateFields(Buffer.from(certificatePem));++ await certificateDAL.transaction(async (tx) => {+ const cert = await certificateDAL.create(+ {+ caId: ca.id,+ profileId,+ status: CertStatus.ACTIVE,+ friendlyName: commonName,+ commonName,+ altNames: altNames.map((san) => san.value).join(","),+ serialNumber: certObj.serialNumber,+ notBefore: certObj.notBefore,+ notAfter: certObj.notAfter,+ keyUsages,+ extendedKeyUsages,+ keyAlgorithm,+ signatureAlgorithm,+ projectId: ca.projectId,+ renewedFromCertificateId: isRenewal && originalCertificateId ? originalCertificateId : null,+ ...parsedFields+ },+ tx+ );++ certificateId = cert.id;++ if (isRenewal && originalCertificateId) {+ await certificateDAL.updateById(originalCertificateId, { renewedByCertificateId: cert.id }, tx);+ }++ await certificateBodyDAL.create(+ {+ certId: cert.id,+ encryptedCertificate,+ encryptedCertificateChain+ },+ tx+ );++ if (skLeaf) {+ const { cipherTextBlob: encryptedPrivateKey } = await kmsEncryptor({+ plainText: Buffer.from(skLeaf)+ });++ await certificateSecretDAL.create(+ {+ certId: cert.id,+ encryptedPrivateKey+ },+ tx+ );+ }++ if (profileId && validity?.ttl && certificateProfileDAL) {+ const profile = await certificateProfileDAL.findById(profileId, tx);+ if (profile) {+ const finalRenewBeforeDays = calculateFinalRenewBeforeDays(undefined, validity.ttl);++ if (finalRenewBeforeDays !== undefined) {+ await certificateDAL.updateById(+ cert.id,+ {+ renewBeforeDays: finalRenewBeforeDays+ },+ tx+ );+ }+ }+ }+ });++ return {+ certificate: certificatePem,+ certificateChain: certificateChainPem,+ privateKey: skLeaf || "",+ serialNumber: certObj.serialNumber,+ certificateId: certificateId!,+ ca: awsPcaCa+ };+ };++ const revokeCertificate = async ({+ caId,+ serialNumber,+ reason+ }: {+ caId: string;+ serialNumber: string;+ reason: CrlReason;+ }) => {+ const ca = await certificateAuthorityDAL.findByIdWithAssociatedCa(caId);+ if (!ca.externalCa || ca.externalCa.type !== CaType.AWS_PCA) {+ throw new BadRequestError({ message: "CA is not an AWS Private Certificate Authority" });+ }++ const awsPcaCa = castDbEntryToAwsPcaCertificateAuthority(ca);+ const { appConnectionId, certificateAuthorityArn, region } = awsPcaCa.configuration;++ const pcaClient = await createPcaClient({ appConnectionId, region, appConnectionDAL, kmsService });++ const revocationReason = CRL_REASON_TO_REVOCATION_REASON_MAP[reason];++ const revokeResult = await pcaClient.send(+ new RevokeCertificateCommand({+ CertificateAuthorityArn: certificateAuthorityArn,+ CertificateSerial: serialNumber,+ RevocationReason: revocationReason+ })+ );++ logger.info(revokeResult, "AWS PCA RevokeCertificate result");+ };++ return {+ createCertificateAuthority,+ updateCertificateAuthority,+ listCertificateAuthorities,+ orderCertificateFromProfile,+ revokeCertificate+ };+};diff --git a/backend/src/services/certificate-authority/aws-pca/aws-pca-certificate-authority-schemas.ts b/backend/src/services/certificate-authority/aws-pca/aws-pca-certificate-authority-schemas.tsnew file mode 100644index 0000000000..d56817939d--- /dev/null+++ b/backend/src/services/certificate-authority/aws-pca/aws-pca-certificate-authority-schemas.ts@@ -0,0 +1,38 @@+import { z } from "zod";++import { CertificateAuthorities } from "@app/lib/api-docs/constants";+import { AWSRegion } from "@app/services/app-connection/app-connection-enums";++import { CaType } from "../certificate-authority-enums";+import {+ BaseCertificateAuthoritySchema,+ GenericCreateCertificateAuthorityFieldsSchema,+ GenericUpdateCertificateAuthorityFieldsSchema+} from "../certificate-authority-schemas";++export const AwsPcaCertificateAuthorityConfigurationSchema = z.object({+ appConnectionId: z.string().uuid().trim().describe(CertificateAuthorities.CONFIGURATIONS.AWS_PCA.appConnectionId),+ certificateAuthorityArn: z+ .string()+ .trim()+ .min(1, "Certificate Authority ARN is required")+ .describe(CertificateAuthorities.CONFIGURATIONS.AWS_PCA.certificateAuthorityArn),+ region: z.nativeEnum(AWSRegion).describe(CertificateAuthorities.CONFIGURATIONS.AWS_PCA.region)+});++export const AwsPcaCertificateAuthoritySchema = BaseCertificateAuthoritySchema.extend({+ type: z.literal(CaType.AWS_PCA),+ configuration: AwsPcaCertificateAuthorityConfigurationSchema+});++export const CreateAwsPcaCertificateAuthoritySchema = GenericCreateCertificateAuthorityFieldsSchema(+ CaType.AWS_PCA+).extend({+ configuration: AwsPcaCertificateAuthorityConfigurationSchema+});++export const UpdateAwsPcaCertificateAuthoritySchema = GenericUpdateCertificateAuthorityFieldsSchema(+ CaType.AWS_PCA+).extend({+ configuration: AwsPcaCertificateAuthorityConfigurationSchema.optional()+});diff --git a/backend/src/services/certificate-authority/aws-pca/aws-pca-certificate-authority-types.ts b/backend/src/services/certificate-authority/aws-pca/aws-pca-certificate-authority-types.tsnew file mode 100644index 0000000000..e9945a1750--- /dev/null+++ b/backend/src/services/certificate-authority/aws-pca/aws-pca-certificate-authority-types.ts@@ -0,0 +1,13 @@+import { z } from "zod";++import {+ AwsPcaCertificateAuthoritySchema,+ CreateAwsPcaCertificateAuthoritySchema,+ UpdateAwsPcaCertificateAuthoritySchema+} from "./aws-pca-certificate-authority-schemas";++export type TAwsPcaCertificateAuthority = z.infer<typeof AwsPcaCertificateAuthoritySchema>;++export type TCreateAwsPcaCertificateAuthorityDTO = z.infer<typeof CreateAwsPcaCertificateAuthoritySchema>;++export type TUpdateAwsPcaCertificateAuthorityDTO = z.infer<typeof UpdateAwsPcaCertificateAuthoritySchema>;diff --git a/backend/src/services/certificate-authority/certificate-authority-enums.ts b/backend/src/services/certificate-authority/certificate-authority-enums.tsindex f9b769a863..c747eefc80 100644--- a/backend/src/services/certificate-authority/certificate-authority-enums.ts+++ b/backend/src/services/certificate-authority/certificate-authority-enums.ts@@ -1,7 +1,8 @@export enum CaType {INTERNAL = "internal",ACME = "acme",- AZURE_AD_CS = "azure-ad-cs"+ AZURE_AD_CS = "azure-ad-cs",+ AWS_PCA = "aws-pca"}export enum InternalCaType {diff --git a/backend/src/services/certificate-authority/certificate-authority-maps.ts b/backend/src/services/certificate-authority/certificate-authority-maps.tsindex bae444cae1..0fc093a1a3 100644--- a/backend/src/services/certificate-authority/certificate-authority-maps.ts+++ b/backend/src/services/certificate-authority/certificate-authority-maps.ts@@ -3,7 +3,8 @@ import { CaCapability, CaType } from "./certificate-authority-enums";export const CERTIFICATE_AUTHORITIES_TYPE_MAP: Record<CaType, string> = {[CaType.INTERNAL]: "Internal",[CaType.ACME]: "ACME-compatible CA",- [CaType.AZURE_AD_CS]: "Active Directory Certificate Service"+ [CaType.AZURE_AD_CS]: "Active Directory Certificate Service",+ [CaType.AWS_PCA]: "AWS Private Certificate Authority"};export const CERTIFICATE_AUTHORITIES_CAPABILITIES_MAP: Record<CaType, CaCapability[]> = {@@ -17,7 +18,8 @@ export const CERTIFICATE_AUTHORITIES_CAPABILITIES_MAP: Record<CaType, CaCapabiliCaCapability.ISSUE_CERTIFICATES,CaCapability.RENEW_CERTIFICATES// Note: REVOKE_CERTIFICATES intentionally omitted - not supported by ADCS connector- ]+ ],+ [CaType.AWS_PCA]: [CaCapability.ISSUE_CERTIFICATES, CaCapability.REVOKE_CERTIFICATES, CaCapability.RENEW_CERTIFICATES]};/**diff --git a/backend/src/services/certificate-authority/certificate-authority-service.ts b/backend/src/services/certificate-authority/certificate-authority-service.tsindex a6dd4ce9ef..f0be714f6b 100644--- a/backend/src/services/certificate-authority/certificate-authority-service.ts+++ b/backend/src/services/certificate-authority/certificate-authority-service.ts@@ -15,6 +15,7 @@ import { TAppConnectionServiceFactory } from "../app-connection/app-connection-simport { TCertificateBodyDALFactory } from "../certificate/certificate-body-dal";import { TCertificateDALFactory } from "../certificate/certificate-dal";import { TCertificateSecretDALFactory } from "../certificate/certificate-secret-dal";+import { CrlReason } from "../certificate/certificate-types";import { TCertificateProfileDALFactory } from "../certificate-profile/certificate-profile-dal";import { TKmsServiceFactory } from "../kms/kms-service";import { TPkiSubscriberDALFactory } from "../pki-subscriber/pki-subscriber-dal";@@ -29,6 +30,14 @@ import {TCreateAcmeCertificateAuthorityDTO,TUpdateAcmeCertificateAuthorityDTO} from "./acme/acme-certificate-authority-types";+import {+ AwsPcaCertificateAuthorityFns,+ castDbEntryToAwsPcaCertificateAuthority+} from "./aws-pca/aws-pca-certificate-authority-fns";+import {+ TCreateAwsPcaCertificateAuthorityDTO,+ TUpdateAwsPcaCertificateAuthorityDTO+} from "./aws-pca/aws-pca-certificate-authority-types";import {AzureAdCsCertificateAuthorityFns,castDbEntryToAzureAdCsCertificateAuthority@@ -132,6 +141,19 @@ export const certificateAuthorityServiceFactory = ({certificateProfileDAL});+ const awsPcaFns = AwsPcaCertificateAuthorityFns({+ appConnectionDAL,+ appConnectionService,+ certificateAuthorityDAL,+ externalCertificateAuthorityDAL,+ certificateDAL,+ certificateBodyDAL,+ certificateSecretDAL,+ kmsService,+ projectDAL,+ certificateProfileDAL+ });+const createCertificateAuthority = async ({ type, projectId, name, configuration, status }: TCreateCertificateAuthorityDTO,actor: OrgServiceActor@@ -195,6 +217,16 @@ export const certificateAuthorityServiceFactory = ({});}+ if (type === CaType.AWS_PCA) {+ return awsPcaFns.createCertificateAuthority({+ name,+ projectId,+ configuration: configuration as TCreateAwsPcaCertificateAuthorityDTO["configuration"],+ status,+ actor+ });+ }+throw new BadRequestError({ message: "Invalid certificate authority type" });};@@ -253,6 +285,10 @@ export const certificateAuthorityServiceFactory = ({return castDbEntryToAzureAdCsCertificateAuthority(certificateAuthority);}+ if (type === CaType.AWS_PCA) {+ return castDbEntryToAwsPcaCertificateAuthority(certificateAuthority);+ }+throw new BadRequestError({ message: "Invalid certificate authority type" });};@@ -316,6 +352,10 @@ export const certificateAuthorityServiceFactory = ({return castDbEntryToAzureAdCsCertificateAuthority(certificateAuthority);}+ if (type === CaType.AWS_PCA) {+ return castDbEntryToAwsPcaCertificateAuthority(certificateAuthority);+ }+throw new BadRequestError({ message: "Invalid certificate authority type" });};@@ -374,6 +414,10 @@ export const certificateAuthorityServiceFactory = ({return azureAdCsFns.listCertificateAuthorities({ projectId, permissionFilters });}+ if (type === CaType.AWS_PCA) {+ return awsPcaFns.listCertificateAuthorities({ projectId, permissionFilters });+ }+throw new BadRequestError({ message: "Invalid certificate authority type" });};@@ -453,6 +497,16 @@ export const certificateAuthorityServiceFactory = ({});}+ if (type === CaType.AWS_PCA) {+ return awsPcaFns.updateCertificateAuthority({+ id: certificateAuthority.id,+ configuration: configuration as TUpdateAwsPcaCertificateAuthorityDTO["configuration"],+ actor,+ status,+ name+ });+ }+throw new BadRequestError({ message: "Invalid certificate authority type" });};@@ -512,6 +566,10 @@ export const certificateAuthorityServiceFactory = ({return castDbEntryToAzureAdCsCertificateAuthority(certificateAuthority);}+ if (type === CaType.AWS_PCA) {+ return castDbEntryToAwsPcaCertificateAuthority(certificateAuthority);+ }+throw new BadRequestError({ message: "Invalid certificate authority type" });};@@ -594,6 +652,16 @@ export const certificateAuthorityServiceFactory = ({});}+ if (type === CaType.AWS_PCA) {+ return awsPcaFns.updateCertificateAuthority({+ id: certificateAuthority.id,+ configuration: configuration as TUpdateAwsPcaCertificateAuthorityDTO["configuration"],+ actor,+ status,+ name+ });+ }+throw new BadRequestError({ message: "Invalid certificate authority type" });};@@ -659,6 +727,10 @@ export const certificateAuthorityServiceFactory = ({return castDbEntryToAzureAdCsCertificateAuthority(certificateAuthority);}+ if (type === CaType.AWS_PCA) {+ return castDbEntryToAwsPcaCertificateAuthority(certificateAuthority);+ }+throw new BadRequestError({ message: "Invalid certificate authority type" });};@@ -747,6 +819,32 @@ export const certificateAuthorityServiceFactory = ({return ca;};+ const revokeCertificate = async ({+ caId,+ serialNumber,+ reason+ }: {+ caId: string;+ serialNumber: string;+ reason: CrlReason;+ }) => {+ const ca = await certificateAuthorityDAL.findByIdWithAssociatedCa(caId);+ if (!ca) {+ throw new NotFoundError({ message: `Could not find certificate authority with id "${caId}"` });+ }++ const caType = (ca.externalCa?.type as CaType) ?? CaType.INTERNAL;++ if (caType === CaType.AWS_PCA) {+ await awsPcaFns.revokeCertificate({ caId, serialNumber, reason });+ return;+ }++ throw new BadRequestError({+ message: `Certificate revocation via CA service is not supported for CA type "${caType}"`+ });+ };+return {createCertificateAuthority,findCertificateAuthorityById,@@ -757,6 +855,7 @@ export const certificateAuthorityServiceFactory = ({getAzureAdcsTemplates,getCaById,deprecatedUpdateCertificateAuthority,- deprecatedDeleteCertificateAuthority+ deprecatedDeleteCertificateAuthority,+ revokeCertificate};};diff --git a/backend/src/services/certificate-authority/certificate-authority-types.ts b/backend/src/services/certificate-authority/certificate-authority-types.tsindex 029c9a7607..d3eb1257a9 100644--- a/backend/src/services/certificate-authority/certificate-authority-types.ts+++ b/backend/src/services/certificate-authority/certificate-authority-types.ts@@ -1,4 +1,8 @@import { TAcmeCertificateAuthority, TAcmeCertificateAuthorityInput } from "./acme/acme-certificate-authority-types";+import {+ TAwsPcaCertificateAuthority,+ TCreateAwsPcaCertificateAuthorityDTO+} from "./aws-pca/aws-pca-certificate-authority-types";import {TAzureAdCsCertificateAuthority,TCreateAzureAdCsCertificateAuthorityDTO@@ -12,12 +16,14 @@ import {export type TCertificateAuthority =| TInternalCertificateAuthority| TAcmeCertificateAuthority- | TAzureAdCsCertificateAuthority;+ | TAzureAdCsCertificateAuthority+ | TAwsPcaCertificateAuthority;export type TCertificateAuthorityInput =| TInternalCertificateAuthorityInput| TAcmeCertificateAuthorityInput- | TCreateAzureAdCsCertificateAuthorityDTO;+ | TCreateAzureAdCsCertificateAuthorityDTO+ | TCreateAwsPcaCertificateAuthorityDTO;export type TCreateCertificateAuthorityDTO = Omit<TCertificateAuthority, "id" | "enableDirectIssuance">;diff --git a/backend/src/services/certificate-authority/certificate-issuance-queue.ts b/backend/src/services/certificate-authority/certificate-issuance-queue.tsindex 614c2f71fe..15c0270183 100644--- a/backend/src/services/certificate-authority/certificate-issuance-queue.ts+++ b/backend/src/services/certificate-authority/certificate-issuance-queue.ts@@ -5,7 +5,11 @@ import { NotFoundError } from "@app/lib/errors";import { logger } from "@app/lib/logger";import { QueueJobs, QueueName, TQueueServiceFactory } from "@app/queue";import { TCertificateDALFactory } from "@app/services/certificate/certificate-dal";-import { CertExtendedKeyUsage, CertKeyUsage } from "@app/services/certificate/certificate-types";+import {+ CertExtendedKeyUsage,+ CertKeyUsage,+ CertSubjectAlternativeNameType+} from "@app/services/certificate/certificate-types";import { TCertificateProfileDALFactory } from "@app/services/certificate-profile/certificate-profile-dal";import { TKmsServiceFactory } from "@app/services/kms/kms-service";import { TProjectDALFactory } from "@app/services/project/project-dal";@@ -21,6 +25,7 @@ import { TPkiSubscriberDALFactory } from "../pki-subscriber/pki-subscriber-dal";import { TPkiSyncDALFactory } from "../pki-sync/pki-sync-dal";import { TPkiSyncQueueFactory } from "../pki-sync/pki-sync-queue";import { AcmeCertificateAuthorityFns } from "./acme/acme-certificate-authority-fns";+import { AwsPcaCertificateAuthorityFns } from "./aws-pca/aws-pca-certificate-authority-fns";import { AzureAdCsCertificateAuthorityFns } from "./azure-ad-cs/azure-ad-cs-certificate-authority-fns";import { TCertificateAuthorityDALFactory } from "./certificate-authority-dal";import { CaType } from "./certificate-authority-enums";@@ -61,7 +66,7 @@ export type TIssueCertificateFromProfileJobData = {profileId: string;caId: string;commonName?: string;- altNames?: string[];+ altNames?: Array<{ type: string; value: string }>;ttl: string;signatureAlgorithm: string;keyAlgorithm: string;@@ -71,6 +76,11 @@ export type TIssueCertificateFromProfileJobData = {originalCertificateId?: string;certificateRequestId?: string;csr?: string;+ organization?: string;+ organizationalUnit?: string;+ country?: string;+ state?: string;+ locality?: string;};type TCertificateIssuanceQueueFactoryDep = {@@ -148,6 +158,19 @@ export const certificateIssuanceQueueFactory = ({certificateProfileDAL});+ const awsPcaFns = AwsPcaCertificateAuthorityFns({+ appConnectionDAL,+ appConnectionService,+ certificateAuthorityDAL,+ externalCertificateAuthorityDAL,+ certificateDAL,+ certificateBodyDAL,+ certificateSecretDAL,+ kmsService,+ projectDAL,+ certificateProfileDAL+ });+/*** Queue a certificate issuance job using pgBoss*/@@ -165,7 +188,12 @@ export const certificateIssuanceQueueFactory = ({isRenewal,originalCertificateId,certificateRequestId,- csr+ csr,+ organization,+ organizationalUnit,+ country,+ state,+ locality}: TIssueCertificateFromProfileJobData) => {const jobData: TIssueCertificateFromProfileJobData = {certificateId,@@ -181,7 +209,12 @@ export const certificateIssuanceQueueFactory = ({isRenewal,originalCertificateId,certificateRequestId,- csr+ csr,+ organization,+ organizationalUnit,+ country,+ state,+ locality};await queueService.queue(QueueName.CertificateIssuance, QueueJobs.CaIssueCertificateFromProfile, jobData, {@@ -212,7 +245,12 @@ export const certificateIssuanceQueueFactory = ({isRenewal,originalCertificateId,certificateRequestId,- csr+ csr,+ organization,+ organizationalUnit,+ country,+ state,+ locality} = data;try {@@ -241,7 +279,7 @@ export const certificateIssuanceQueueFactory = ({const [, generatedCsr] = await acme.crypto.createCsr({- altNames: altNames ? [...altNames] : [],+ altNames: altNames ? altNames.map((san) => san.value) : [],commonName: commonName || ""},skLeaf@@ -253,7 +291,7 @@ export const certificateIssuanceQueueFactory = ({caId,profileId,commonName: commonName || "",- altNames: altNames || [],+ altNames: altNames?.map((san) => san.value) || [],csr: Buffer.from(certificateCsr),csrPrivateKey: skLeaf,keyUsages: keyUsages as CertKeyUsage[],@@ -317,7 +355,7 @@ export const certificateIssuanceQueueFactory = ({caId,profileId,commonName: commonName || "",- altNames: altNames || [],+ altNames: altNames?.map((san) => san.value) || [],keyUsages: keyUsages as CertKeyUsage[],extendedKeyUsages: extendedKeyUsages as CertExtendedKeyUsage[],validity: { ttl },@@ -357,6 +395,55 @@ export const certificateIssuanceQueueFactory = ({}}}+ } else if (ca.externalCa?.type === CaType.AWS_PCA) {+ const awsPcaParams = {+ caId,+ profileId,+ commonName: commonName || "",+ altNames: (altNames || []) as Array<{ type: CertSubjectAlternativeNameType; value: string }>,+ keyUsages: keyUsages as CertKeyUsage[],+ extendedKeyUsages: extendedKeyUsages as CertExtendedKeyUsage[],+ validity: { ttl },+ signatureAlgorithm,+ keyAlgorithm: keyAlgorithm as CertKeyAlgorithm,+ isRenewal,+ originalCertificateId,+ ...(csr && { csr }),+ organization,+ organizationalUnit,+ country,+ state,+ locality+ };++ const awsPcaResult = await awsPcaFns.orderCertificateFromProfile(awsPcaParams);++ if (certificateRequestId && certificateRequestService && awsPcaResult?.certificateId) {+ try {+ await certificateRequestService.attachCertificateToRequest({+ certificateRequestId,+ certificateId: awsPcaResult.certificateId+ });+ logger.info(`Certificate attached to request [certificateRequestId=${certificateRequestId}]`);+ } catch (attachError) {+ logger.error(+ attachError,+ `Failed to attach certificate to request [certificateRequestId=${certificateRequestId}]`+ );+ try {+ await certificateRequestService.updateCertificateRequestStatus({+ certificateRequestId,+ status: CertificateRequestStatus.FAILED,+ errorMessage: `Failed to attach certificate: ${attachError instanceof Error ? attachError.message : String(attachError)}`+ });+ } catch (statusUpdateError) {+ logger.error(+ statusUpdateError,+ `Failed to update certificate request status [certificateRequestId=${certificateRequestId}]`+ );+ }+ }+ }}logger.info(diff --git a/backend/src/services/certificate-profile/certificate-profile-external-config-schemas.ts b/backend/src/services/certificate-profile/certificate-profile-external-config-schemas.tsindex 2d54d0d4fe..7ffdc89649 100644--- a/backend/src/services/certificate-profile/certificate-profile-external-config-schemas.ts+++ b/backend/src/services/certificate-profile/certificate-profile-external-config-schemas.ts@@ -17,12 +17,18 @@ export const AzureAdCsExternalConfigSchema = z.object({*/export const AcmeExternalConfigSchema = z.object({});+/**+ * External configuration schema for AWS PCA Certificate Authority+ */+export const AwsPcaExternalConfigSchema = z.object({});+/*** Map of CA types to their corresponding external configuration schemas*/export const ExternalConfigSchemaMap = {[CaType.AZURE_AD_CS]: AzureAdCsExternalConfigSchema,[CaType.ACME]: AcmeExternalConfigSchema,+ [CaType.AWS_PCA]: AwsPcaExternalConfigSchema,[CaType.INTERNAL]: z.object({}).optional() // Internal CAs don't use external configs} as const;@@ -43,7 +49,7 @@ export const createExternalConfigSchema = (caType?: CaType | null) => {* Union type of all possible external configuration schemas*/export const ExternalConfigUnionSchema = z- .union([AzureAdCsExternalConfigSchema, AcmeExternalConfigSchema, z.object({})])+ .union([AzureAdCsExternalConfigSchema, AcmeExternalConfigSchema, AwsPcaExternalConfigSchema, z.object({})]).nullable().optional();diff --git a/backend/src/services/certificate-v3/certificate-approval-fns.ts b/backend/src/services/certificate-v3/certificate-approval-fns.tsindex 89efea09e9..f3401bd2a1 100644--- a/backend/src/services/certificate-v3/certificate-approval-fns.ts+++ b/backend/src/services/certificate-v3/certificate-approval-fns.ts@@ -427,7 +427,7 @@ export const certificateApprovalServiceFactory = (const caType = (targetCa.externalCa?.type as CaType) ?? CaType.INTERNAL;- if (caType !== CaType.ACME && caType !== CaType.AZURE_AD_CS) {+ if (caType !== CaType.ACME && caType !== CaType.AZURE_AD_CS && caType !== CaType.AWS_PCA) {return null;}@@ -441,11 +441,16 @@ export const certificateApprovalServiceFactory = (signatureAlgorithm: certRequest.signatureAlgorithm || "",keyAlgorithm: certRequest.keyAlgorithm || "",commonName: certRequest.commonName || "",- altNames: altNames?.map((san) => san.value) || [],+ altNames: altNames?.map((san) => ({ type: san.type, value: san.value })) || [],keyUsages: certRequest.keyUsages || [],extendedKeyUsages: certRequest.extendedKeyUsages || [],certificateRequestId,- csr: certRequest.csr || undefined+ csr: certRequest.csr || undefined,+ organization: certRequest.organization || undefined,+ organizationalUnit: certRequest.organizationalUnit || undefined,+ country: certRequest.country || undefined,+ state: certRequest.state || undefined,+ locality: certRequest.locality || undefined});return {diff --git a/backend/src/services/certificate-v3/certificate-v3-service.ts b/backend/src/services/certificate-v3/certificate-v3-service.tsindex 07960e1acc..2ca1b911c2 100644--- a/backend/src/services/certificate-v3/certificate-v3-service.ts+++ b/backend/src/services/certificate-v3/certificate-v3-service.ts@@ -57,6 +57,8 @@ import {CertExtendedKeyUsageType,CertKeyUsageType,CertPolicyState,+ mapExtendedKeyUsageToLegacy,+ mapKeyUsageToLegacy,mapLegacyExtendedKeyUsageToStandard,mapLegacyKeyUsageToStandard} from "../certificate-common/certificate-constants";@@ -254,7 +256,7 @@ const validateRenewalEligibility = (const caType = (ca.externalCa?.type as CaType) ?? CaType.INTERNAL;const isInternalCa = caType === CaType.INTERNAL;- const isConnectedExternalCa = caType === CaType.ACME || caType === CaType.AZURE_AD_CS;+ const isConnectedExternalCa = caType === CaType.ACME || caType === CaType.AZURE_AD_CS || caType === CaType.AWS_PCA;const isImportedCertificate = certificate.pkiSubscriberId != null && !certificate.profileId;if (!isInternalCa && !isConnectedExternalCa) {@@ -347,10 +349,6 @@ const parseExtendedKeyUsages = (extendedKeyUsages: unknown): CertExtendedKeyUsagreturn raw.map((u) => normalize(u)).filter((u): u is CertExtendedKeyUsageType => u !== null);};-const convertEnumsToStringArray = <T extends string>(enumArray: T[]): string[] => {- return enumArray.map((item) => item as string);-};-const createSelfSignedCertificateRecord = async ({selfSignedResult,certificateRequest,@@ -1554,7 +1552,12 @@ export const certificateV3ServiceFactory = ({notBefore: certificateOrder.notBefore,notAfter: certificateOrder.notAfter,signatureAlgorithm: certificateOrder.signatureAlgorithm,- keyAlgorithm: certificateOrder.keyAlgorithm+ keyAlgorithm: certificateOrder.keyAlgorithm,+ organization: certificateOrder.organization,+ organizationalUnit: certificateOrder.organizationalUnit,+ country: certificateOrder.country,+ state: certificateOrder.state,+ locality: certificateOrder.locality};certificateRequest = applyProfileDefaults(rawRequest, profile.defaults);}@@ -1611,16 +1614,19 @@ export const certificateV3ServiceFactory = ({csr: certificateOrder.csr || null,commonName: certificateOrder.commonName || null,altNames: certificateOrder.altNames ? JSON.stringify(certificateOrder.altNames) : null,- keyUsages: certificateOrder.keyUsages ? convertEnumsToStringArray(certificateOrder.keyUsages) : null,- extendedKeyUsages: certificateOrder.extendedKeyUsages- ? convertEnumsToStringArray(certificateOrder.extendedKeyUsages)- : null,+ keyUsages: convertKeyUsageArrayToLegacy(certificateOrder.keyUsages) || null,+ extendedKeyUsages: convertExtendedKeyUsageArrayToLegacy(certificateOrder.extendedKeyUsages) || null,notBefore: certificateOrder.notBefore || null,notAfter: certificateOrder.notAfter || null,keyAlgorithm: certificateOrder.keyAlgorithm || null,signatureAlgorithm: certificateOrder.signatureAlgorithm || null,ttl: certificateOrder.validity?.ttl || null,metadata: certificateOrder.template ? JSON.stringify({ template: certificateOrder.template }) : null,+ organization: certificateRequest.organization || null,+ organizationalUnit: certificateRequest.organizationalUnit || null,+ country: certificateRequest.country || null,+ state: certificateRequest.state || null,+ locality: certificateRequest.locality || null,status: CertificateRequestStatus.PENDING_APPROVAL},tx@@ -1714,7 +1720,7 @@ export const certificateV3ServiceFactory = ({});}- if (caType === CaType.ACME || caType === CaType.AZURE_AD_CS) {+ if (caType === CaType.ACME || caType === CaType.AZURE_AD_CS || caType === CaType.AWS_PCA) {const orderId = randomUUID();const certRequest = await certificateRequestService.createCertificateRequest({@@ -1726,10 +1732,8 @@ export const certificateV3ServiceFactory = ({caId: ca.id,profileId: profile.id,commonName: certificateOrder.commonName || "",- keyUsages: certificateOrder.keyUsages ? convertEnumsToStringArray(certificateOrder.keyUsages) : [],- extendedKeyUsages: certificateOrder.extendedKeyUsages- ? convertEnumsToStringArray(certificateOrder.extendedKeyUsages)- : [],+ keyUsages: convertKeyUsageArrayToLegacy(certificateOrder.keyUsages) || [],+ extendedKeyUsages: convertExtendedKeyUsageArrayToLegacy(certificateOrder.extendedKeyUsages) || [],keyAlgorithm: certificateOrder.keyAlgorithm || "",signatureAlgorithm: certificateOrder.signatureAlgorithm || "",altNames: certificateOrder.altNames,@@ -1737,7 +1741,12 @@ export const certificateV3ServiceFactory = ({notAfter: certificateOrder.notAfter,status: CertificateRequestStatus.PENDING,ttl: certificateOrder.validity?.ttl,- enrollmentType: EnrollmentType.API+ enrollmentType: EnrollmentType.API,+ organization: certificateRequest.organization,+ organizationalUnit: certificateRequest.organizationalUnit,+ country: certificateRequest.country,+ state: certificateRequest.state,+ locality: certificateRequest.locality});await certificateIssuanceQueue.queueCertificateIssuance({@@ -1748,13 +1757,17 @@ export const certificateV3ServiceFactory = ({signatureAlgorithm: certificateOrder.signatureAlgorithm || "",keyAlgorithm: certificateRequest.keyAlgorithm || "",commonName: certificateRequest.commonName || "",- altNames: certificateRequest.subjectAlternativeNames?.map((san) => san.value) || [],- keyUsages: certificateRequest.keyUsages ? convertEnumsToStringArray(certificateRequest.keyUsages) : [],- extendedKeyUsages: certificateRequest.extendedKeyUsages- ? convertEnumsToStringArray(certificateRequest.extendedKeyUsages)- : [],+ altNames:+ certificateRequest.subjectAlternativeNames?.map((san) => ({ type: san.type, value: san.value })) || [],+ keyUsages: convertKeyUsageArrayToLegacy(certificateRequest.keyUsages) || [],+ extendedKeyUsages: convertExtendedKeyUsageArrayToLegacy(certificateRequest.extendedKeyUsages) || [],certificateRequestId: certRequest.id,- csr: certificateOrder.csr+ csr: certificateOrder.csr,+ organization: certificateRequest.organization,+ organizationalUnit: certificateRequest.organizationalUnit,+ country: certificateRequest.country,+ state: certificateRequest.state,+ locality: certificateRequest.locality});return {@@ -2026,7 +2039,7 @@ export const certificateV3ServiceFactory = ({throw new NotFoundError({ message: "Certificate was signed but could not be found in database" });}newCert = foundCert;- } else if (caType === CaType.ACME || caType === CaType.AZURE_AD_CS) {+ } else if (caType === CaType.ACME || caType === CaType.AZURE_AD_CS || caType === CaType.AWS_PCA) {// External CA renewal - mark for async processing outside transactionreturn {isExternalCA: true,@@ -2189,12 +2202,17 @@ export const certificateV3ServiceFactory = ({profileId: profile?.id || "",caId: ca.id,commonName: originalCert.commonName || "",- altNames: altNamesArray,+ altNames: structuredAltNames,ttl,signatureAlgorithm: originalSignatureAlgorithm,keyAlgorithm: originalKeyAlgorithm,- keyUsages: convertEnumsToStringArray(parseKeyUsages(originalCert.keyUsages)),- extendedKeyUsages: convertEnumsToStringArray(parseExtendedKeyUsages(originalCert.extendedKeyUsages)),+ keyUsages: parseKeyUsages(originalCert.keyUsages).map(mapKeyUsageToLegacy),+ extendedKeyUsages: parseExtendedKeyUsages(originalCert.extendedKeyUsages).map(mapExtendedKeyUsageToLegacy),+ organization: originalCert.subjectOrganization || undefined,+ organizationalUnit: originalCert.subjectOrganizationalUnit || undefined,+ country: originalCert.subjectCountry || undefined,+ state: originalCert.subjectState || undefined,+ locality: originalCert.subjectLocality || undefined,isRenewal: true,originalCertificateId: certificateId,certificateRequestId: certificateRequest.iddiff --git a/backend/src/services/certificate-v3/certificate-v3-types.ts b/backend/src/services/certificate-v3/certificate-v3-types.tsindex eb50d3138e..4bbe54f09c 100644--- a/backend/src/services/certificate-v3/certificate-v3-types.ts+++ b/backend/src/services/certificate-v3/certificate-v3-types.ts@@ -73,6 +73,11 @@ export type TOrderCertificateFromProfileDTO = {keyAlgorithm?: string;template?: string;csr?: string;+ organization?: string;+ organizationalUnit?: string;+ country?: string;+ state?: string;+ locality?: string;};removeRootsFromChain?: boolean;} & Omit<TProjectPermission, "projectId">;diff --git a/backend/src/services/certificate/certificate-service.ts b/backend/src/services/certificate/certificate-service.tsindex ec27bfd826..2d6f896e4c 100644--- a/backend/src/services/certificate/certificate-service.ts+++ b/backend/src/services/certificate/certificate-service.ts@@ -18,6 +18,7 @@ import { TCertificateAuthorityDALFactory } from "@app/services/certificate-authoimport { CaCapability, CaType } from "@app/services/certificate-authority/certificate-authority-enums";import { caSupportsCapability } from "@app/services/certificate-authority/certificate-authority-maps";import { TCertificateAuthoritySecretDALFactory } from "@app/services/certificate-authority/certificate-authority-secret-dal";+import { TCertificateAuthorityServiceFactory } from "@app/services/certificate-authority/certificate-authority-service";import { TCertificateSyncDALFactory } from "@app/services/certificate-sync/certificate-sync-dal";import { TKmsServiceFactory } from "@app/services/kms/kms-service";import { TPkiCollectionDALFactory } from "@app/services/pki-collection/pki-collection-dal";@@ -75,6 +76,7 @@ type TCertificateServiceFactoryDep = {certificateSyncDAL: Pick<TCertificateSyncDALFactory, "findPkiSyncIdsByCertificateId">;pkiSyncDAL: Pick<TPkiSyncDALFactory, "find">;pkiSyncQueue: Pick<TPkiSyncQueueFactory, "queuePkiSyncSyncCertificatesById">;+ certificateAuthorityService: Pick<TCertificateAuthorityServiceFactory, "revokeCertificate">;};export type TCertificateServiceFactory = ReturnType<typeof certificateServiceFactory>;@@ -94,7 +96,8 @@ export const certificateServiceFactory = ({permissionService,certificateSyncDAL,pkiSyncDAL,- pkiSyncQueue+ pkiSyncQueue,+ certificateAuthorityService}: TCertificateServiceFactoryDep) => {/*** Return details for certificate with serial number [serialNumber]@@ -364,7 +367,15 @@ export const certificateServiceFactory = ({});// Note: External CA revocation handling would go here for supported CA types- // Currently, only internal CAs and ACME CAs support revocation+ // Currently, only internal CAs, ACME CAs and AWS PCA (external CA) support revocation++ if (ca.externalCa?.type === CaType.AWS_PCA) {+ await certificateAuthorityService.revokeCertificate({+ caId: ca.id,+ serialNumber: cert.serialNumber,+ reason: revocationReason+ });+ }// rebuild CRL (TODO: move to interval-based cron job)// Only rebuild CRL for internal CAs - external CAs manage their own CRLsdiff --git a/backend/src/services/certificate/certificate-types.ts b/backend/src/services/certificate/certificate-types.tsindex 4274dfc9c8..17282ab264 100644--- a/backend/src/services/certificate/certificate-types.ts+++ b/backend/src/services/certificate/certificate-types.ts@@ -169,6 +169,18 @@ export const mapLegacyAltNameType = (legacyType: TAltNameType): CertSubjectAlterthrow new Error(`Unknown legacy alt name type: ${legacyType}`);}};++const SAN_TYPE_TO_X509_TYPE: Record<CertSubjectAlternativeNameType, TAltNameType> = {+ [CertSubjectAlternativeNameType.IP_ADDRESS]: TAltNameType.IP,+ [CertSubjectAlternativeNameType.EMAIL]: TAltNameType.EMAIL,+ [CertSubjectAlternativeNameType.URI]: TAltNameType.URL,+ [CertSubjectAlternativeNameType.DNS_NAME]: TAltNameType.DNS+};++export const mapSanTypeToX509Type = (sanType: CertSubjectAlternativeNameType): TAltNameType => {+ return SAN_TYPE_TO_X509_TYPE[sanType] ?? TAltNameType.DNS;+};+export type TAltNameMapping = {type: TAltNameType;value: string;diff --git a/docs/api-reference/endpoints/certificate-authorities/aws-pca/create.mdx b/docs/api-reference/endpoints/certificate-authorities/aws-pca/create.mdxnew file mode 100644index 0000000000..b9935f03b9--- /dev/null+++ b/docs/api-reference/endpoints/certificate-authorities/aws-pca/create.mdx@@ -0,0 +1,4 @@+---+title: "Create"+openapi: "POST /api/v1/cert-manager/ca/aws-pca"+---diff --git a/docs/api-reference/endpoints/certificate-authorities/aws-pca/delete.mdx b/docs/api-reference/endpoints/certificate-authorities/aws-pca/delete.mdxnew file mode 100644index 0000000000..5995b98331--- /dev/null+++ b/docs/api-reference/endpoints/certificate-authorities/aws-pca/delete.mdx@@ -0,0 +1,4 @@+---+title: "Delete"+openapi: "DELETE /api/v1/cert-manager/ca/aws-pca/{id}"+---diff --git a/docs/api-reference/endpoints/certificate-authorities/aws-pca/list.mdx b/docs/api-reference/endpoints/certificate-authorities/aws-pca/list.mdxnew file mode 100644index 0000000000..7685b3b7f7--- /dev/null+++ b/docs/api-reference/endpoints/certificate-authorities/aws-pca/list.mdx@@ -0,0 +1,4 @@+---+title: "List"+openapi: "GET /api/v1/cert-manager/ca/aws-pca"+---diff --git a/docs/api-reference/endpoints/certificate-authorities/aws-pca/read.mdx b/docs/api-reference/endpoints/certificate-authorities/aws-pca/read.mdxnew file mode 100644index 0000000000..a854a6f08c--- /dev/null+++ b/docs/api-reference/endpoints/certificate-authorities/aws-pca/read.mdx@@ -0,0 +1,4 @@+---+title: "Read"+openapi: "GET /api/v1/cert-manager/ca/aws-pca/{id}"+---diff --git a/docs/api-reference/endpoints/certificate-authorities/aws-pca/update.mdx b/docs/api-reference/endpoints/certificate-authorities/aws-pca/update.mdxnew file mode 100644index 0000000000..4fff297c30--- /dev/null+++ b/docs/api-reference/endpoints/certificate-authorities/aws-pca/update.mdx@@ -0,0 +1,4 @@+---+title: "Update"+openapi: "PATCH /api/v1/cert-manager/ca/aws-pca/{id}"+---diff --git a/docs/docs.json b/docs/docs.jsonindex 93fd02278d..8bb1598fdf 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -778,7 +778,8 @@"documentation/platform/pki/ca/acme-ca","documentation/platform/pki/ca/lets-encrypt","documentation/platform/pki/ca/digicert",- "documentation/platform/pki/ca/azure-adcs"+ "documentation/platform/pki/ca/azure-adcs",+ "documentation/platform/pki/ca/aws-pca"]}]@@ -2746,6 +2747,16 @@"api-reference/endpoints/certificate-authorities/acme/delete"]},+ {+ "group": "AWS PCA",+ "pages": [+ "api-reference/endpoints/certificate-authorities/aws-pca/list",+ "api-reference/endpoints/certificate-authorities/aws-pca/create",+ "api-reference/endpoints/certificate-authorities/aws-pca/read",+ "api-reference/endpoints/certificate-authorities/aws-pca/update",+ "api-reference/endpoints/certificate-authorities/aws-pca/delete"+ ]+ },{"group": "Internal","pages": [diff --git a/docs/documentation/platform/pki/ca/aws-pca.mdx b/docs/documentation/platform/pki/ca/aws-pca.mdxnew file mode 100644index 0000000000..3845fe4a56--- /dev/null+++ b/docs/documentation/platform/pki/ca/aws-pca.mdx@@ -0,0 +1,119 @@+---+title: "AWS Private CA"+description: "Learn how to issue and manage certificates using AWS Private Certificate Authority (PCA) with Infisical."+---++Issue and manage certificates using AWS Private Certificate Authority (PCA) for cloud-native private certificate management.++## Prerequisites++Before setting up AWS PCA integration, ensure you have:++- An AWS account with AWS Private CA service access+- An AWS Private CA in **ACTIVE** status+- An [AWS App Connection](/integrations/app-connections/aws) configured in Infisical with the required IAM permissions (see below)++### IAM Permissions++Your AWS connection's IAM role or user needs the following permissions on your Private CA resource(s):++- `acm-pca:DescribeCertificateAuthority`+- `acm-pca:GetCertificateAuthorityCertificate`+- `acm-pca:IssueCertificate`+- `acm-pca:GetCertificate`+- `acm-pca:RevokeCertificate`++To scope permissions to a single CA, set the `Resource` to that CA's ARN:++```json+{+ "Version": "2012-10-17",+ "Statement": [+ {+ "Effect": "Allow",+ "Action": [+ "acm-pca:DescribeCertificateAuthority",+ "acm-pca:GetCertificateAuthorityCertificate",+ "acm-pca:IssueCertificate",+ "acm-pca:GetCertificate",+ "acm-pca:RevokeCertificate"+ ],+ "Resource": "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/your-ca-id"+ }+ ]+}+```++To allow access to multiple CAs, list each ARN in the `Resource` array:++```json+{+ "Version": "2012-10-17",+ "Statement": [+ {+ "Effect": "Allow",+ "Action": [+ "acm-pca:DescribeCertificateAuthority",+ "acm-pca:GetCertificateAuthorityCertificate",+ "acm-pca:IssueCertificate",+ "acm-pca:GetCertificate",+ "acm-pca:RevokeCertificate"+ ],+ "Resource": [+ "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/ca-id-1",+ "arn:aws:acm-pca:us-west-2:123456789012:certificate-authority/ca-id-2"+ ]+ }+ ]+}+```++<Note>+ Using a specific CA ARN in `Resource` is recommended over `"*"` to follow the principle of least privilege.+</Note>++See the [AWS Connection](/integrations/app-connections/aws) page for full setup instructions.++## Complete Workflow: From Setup to Certificate Issuance++<Steps>+ <Step title="Copy Your AWS PCA ARN">+ In the AWS Console, navigate to **AWS Private CA** and select your certificate authority. Copy the **ARN** from the CA details page.+ + </Step>++ <Step title="Navigate to External Certificate Authorities">+ In your Infisical project, go to **Certificate Authorities** and scroll to the **External Certificate Authorities** section.+ + </Step>++ <Step title="Create New AWS PCA Certificate Authority">+ Click **Create CA** and configure:+ - **CA Type**: Choose **AWS Private CA (PCA)**+ - **Name**: A slug name for this CA — lowercase letters, numbers, and hyphens only (e.g., "production-aws-pca")+ - **AWS Connection**: Select your AWS connection from the dropdown+ - **Certificate Authority ARN**: Paste the ARN copied from the previous step+ - **Region**: Select the AWS region where your PCA is hosted++ + </Step>++ <Step title="Create a Certificate Profile and Issue a Certificate">+ Create a certificate profile linked to your AWS PCA CA, then submit a certificate request. The request will be sent to AWS PCA and the issued certificate will be available once the order completes.+ + </Step>+</Steps>++## Troubleshooting++**CA Not in ACTIVE Status**++- AWS PCA must be in the **ACTIVE** state before Infisical can issue certificates. Verify the status in the AWS Console under **AWS Private CA**.++**IAM Permission Errors**++- Ensure your AWS connection's IAM role or user has the required `acm-pca:*` permissions scoped to the correct CA ARN. See the [IAM Permissions](#iam-permissions) section above.++**Invalid CA ARN**++- Double-check the ARN format: `arn:aws:acm-pca:<region>:<account-id>:certificate-authority/<ca-id>`.diff --git a/docs/documentation/platform/pki/ca/external-ca.mdx b/docs/documentation/platform/pki/ca/external-ca.mdxindex 7e57d50a14..3422bf9be6 100644--- a/docs/documentation/platform/pki/ca/external-ca.mdx+++ b/docs/documentation/platform/pki/ca/external-ca.mdx@@ -37,7 +37,8 @@ The specific steps and requirements vary depending on the External CA type you cInfisical currently supports the following External CA types out of the box:- [ACME CA](/documentation/platform/pki/ca/acme-ca): An ACME-compatible CA that supports the ACME protocol, such as Let's Encrypt, ZeroSSL, Buypass, Digicert, etc.-- [Azure ADCS](/documentation/platform/pki/ca/azure-adcs): A Microsoft Active Directory Certificate Services (ADCS) that supports the ADCS protocol, such as AWS Private CA, Azure ADCS, etc.+- [Azure ADCS](/documentation/platform/pki/ca/azure-adcs): A Microsoft Active Directory Certificate Services (ADCS) that supports the ADCS protocol.+- [AWS Private CA](/documentation/platform/pki/ca/aws-pca): An AWS Private Certificate Authority (PCA) for cloud-native private certificate management.If you don’t see a specific external CA listed here or need a dedicated integration guide, please reach out to [email protected] and we’ll help you set up the integration for your external CA.diff --git a/docs/images/platform/pki/aws-pca/aws-pca-certificate-created.png b/docs/images/platform/pki/aws-pca/aws-pca-certificate-created.pngnew file mode 100644index 0000000000..e004e369f3Binary files /dev/null and b/docs/images/platform/pki/aws-pca/aws-pca-certificate-created.png differdiff --git a/docs/images/platform/pki/aws-pca/aws-pca-copy-arn.png b/docs/images/platform/pki/aws-pca/aws-pca-copy-arn.pngnew file mode 100644index 0000000000..18ca461c8bBinary files /dev/null and b/docs/images/platform/pki/aws-pca/aws-pca-copy-arn.png differdiff --git a/docs/images/platform/pki/aws-pca/aws-pca-external-ca-form.png b/docs/images/platform/pki/aws-pca/aws-pca-external-ca-form.pngnew file mode 100644index 0000000000..259fd8aa89Binary files /dev/null and b/docs/images/platform/pki/aws-pca/aws-pca-external-ca-form.png differdiff --git a/docs/images/platform/pki/aws-pca/aws-pca-external-ca-page.png b/docs/images/platform/pki/aws-pca/aws-pca-external-ca-page.pngnew file mode 100644index 0000000000..640aecf55aBinary files /dev/null and b/docs/images/platform/pki/aws-pca/aws-pca-external-ca-page.png differdiff --git a/docs/integrations/app-connections/aws.mdx b/docs/integrations/app-connections/aws.mdxindex 583d233182..06fca211b8 100644--- a/docs/integrations/app-connections/aws.mdx+++ b/docs/integrations/app-connections/aws.mdx@@ -268,6 +268,69 @@ Infisical supports two methods for connecting to AWS.</Accordion></AccordionGroup></Tab>+ <Tab title="External Certificate Authority">+ <AccordionGroup>+ <Accordion title="AWS Private CA">+ Use the following custom policy to grant the minimum permissions required by Infisical to issue certificates via AWS Private CA.++ For a **single CA**, scope the `Resource` to that CA's ARN:++ ```json+ {+ "Version": "2012-10-17",+ "Statement": [+ {+ "Sid": "AllowAwsPrivateCAAccess",+ "Effect": "Allow",+ "Action": [+ "acm-pca:DescribeCertificateAuthority",+ "acm-pca:GetCertificateAuthorityCertificate",+ "acm-pca:IssueCertificate",+ "acm-pca:GetCertificate",+ "acm-pca:RevokeCertificate"+ ],+ "Resource": "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/your-ca-id"+ }+ ]+ }+ ```++ For **multiple CAs**, list each ARN in the `Resource` array:++ ```json+ {+ "Version": "2012-10-17",+ "Statement": [+ {+ "Sid": "AllowAwsPrivateCAAccess",+ "Effect": "Allow",+ "Action": [+ "acm-pca:DescribeCertificateAuthority",+ "acm-pca:GetCertificateAuthorityCertificate",+ "acm-pca:IssueCertificate",+ "acm-pca:GetCertificate",+ "acm-pca:RevokeCertificate"+ ],+ "Resource": [+ "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/ca-id-1",+ "arn:aws:acm-pca:us-west-2:123456789012:certificate-authority/ca-id-2"+ ]+ }+ ]+ }+ ```+ <Note>+ - **DescribeCertificateAuthority**: Validates the CA status and configuration+ - **GetCertificateAuthorityCertificate**: Retrieves the CA certificate and chain+ - **IssueCertificate**: Issues certificates from the private CA+ - **GetCertificate**: Retrieves issued certificates+ - **RevokeCertificate**: Revokes previously issued certificates++ Using a specific CA ARN in `Resource` is recommended over `"*"` to follow the principle of least privilege.+ </Note>+ </Accordion>+ </AccordionGroup>+ </Tab></Tabs></Step>@@ -536,6 +599,69 @@ Infisical supports two methods for connecting to AWS.</Accordion></AccordionGroup></Tab>+ <Tab title="External CA">+ <AccordionGroup>+ <Accordion title="AWS Private CA">+ Use the following custom policy to grant the minimum permissions required by Infisical to issue certificates via AWS Private CA.++ For a **single CA**, scope the `Resource` to that CA's ARN:++ ```json+ {+ "Version": "2012-10-17",+ "Statement": [+ {+ "Sid": "AllowAwsPrivateCAAccess",+ "Effect": "Allow",+ "Action": [+ "acm-pca:DescribeCertificateAuthority",+ "acm-pca:GetCertificateAuthorityCertificate",+ "acm-pca:IssueCertificate",+ "acm-pca:GetCertificate",+ "acm-pca:RevokeCertificate"+ ],+ "Resource": "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/your-ca-id"+ }+ ]+ }+ ```++ For **multiple CAs**, list each ARN in the `Resource` array:++ ```json+ {+ "Version": "2012-10-17",+ "Statement": [+ {+ "Sid": "AllowAwsPrivateCAAccess",+ "Effect": "Allow",+ "Action": [+ "acm-pca:DescribeCertificateAuthority",+ "acm-pca:GetCertificateAuthorityCertificate",+ "acm-pca:IssueCertificate",+ "acm-pca:GetCertificate",+ "acm-pca:RevokeCertificate"+ ],+ "Resource": [+ "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/ca-id-1",+ "arn:aws:acm-pca:us-west-2:123456789012:certificate-authority/ca-id-2"+ ]+ }+ ]+ }+ ```+ <Note>+ - **DescribeCertificateAuthority**: Validates the CA status and configuration+ - **GetCertificateAuthorityCertificate**: Retrieves the CA certificate and chain+ - **IssueCertificate**: Issues certificates from the private CA+ - **GetCertificate**: Retrieves issued certificates+ - **RevokeCertificate**: Revokes previously issued certificates++ Using a specific CA ARN in `Resource` is recommended over `"*"` to follow the principle of least privilege.+ </Note>+ </Accordion>+ </AccordionGroup>+ </Tab></Tabs></Step><Step title="Obtain Access Key ID and Secret Access Key">diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex 56ac2df904..80936c270b 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -160,8 +160,7 @@"resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.4.4.tgz","integrity": "sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==","dev": true,- "license": "MIT",- "peer": true+ "license": "MIT"},"node_modules/@alloc/quick-lru": {"version": "5.2.0",@@ -206,6 +205,7 @@"integrity": "sha512-2BCOP7TN8M+gVDj7/ht3hsaO/B/n5oDbiAyyvnRlNOs+u1o+JWNYTQrmpuNp1/Wq2gcFrI01JAW+paEKDMx/CA==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"@babel/code-frame": "^7.27.1","@babel/generator": "^7.28.3",@@ -498,6 +498,7 @@"resolved": "https://registry.npmjs.org/@casl/ability/-/ability-6.7.2.tgz","integrity": "sha512-KjKXlcjKbUz8dKw7PY56F7qlfOFgxTU6tnlJ8YrbDyWkJMIlHa6VRWzCD8RU20zbJUC1hExhOFggZjm6tf1mUw==","license": "MIT",+ "peer": true,"dependencies": {"@ucast/mongo2js": "^1.3.0"},@@ -556,6 +557,7 @@"resolved": "https://registry.npmjs.org/@dnd-kit/core/-/core-6.3.1.tgz","integrity": "sha512-xkGBRQQab4RLwgXxoqETICr6S5JlogafbhNsidmrkVv2YRs5MLwpjoF2qpiGjQt8S9AoxtIV603s0GIUpY5eYQ==","license": "MIT",+ "peer": true,"dependencies": {"@dnd-kit/accessibility": "^3.1.1","@dnd-kit/utilities": "^3.2.2",@@ -1333,6 +1335,7 @@"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-6.7.1.tgz","integrity": "sha512-8dBIHbfsKlCk2jHQ9PoRBg2Z+4TwyE3vZICSnoDlnsHA6SiMlTwfmW6yX0lHsRmWJugkeb92sA0hZdkXJhuz+g==","license": "MIT",+ "peer": true,"dependencies": {"@fortawesome/fontawesome-common-types": "6.7.1"},@@ -2023,6 +2026,7 @@"resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.2.tgz","integrity": "sha512-hEb7Ma4cGJGEUNOAVmyfdB/3WirWMg5hDuNFVejGEDFqupeOysLc2sG6HJxY2etBp5YQu5Wtxwi020jS9xlUwg==","license": "MIT",+ "peer": true,"dependencies": {"@octokit/auth-token": "^5.0.0","@octokit/graphql": "^8.0.0",@@ -4536,6 +4540,7 @@"integrity": "sha512-RnO1SaiCFHn666wNz2QfZEFxvmiNRqhzaMXHXxXXKt+MEP7aajlPxUSMIQpKAaJfverpovEYqjBOXDq6dDcaOQ==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"@typescript-eslint/utils": "^8.13.0","eslint-visitor-keys": "^4.2.0",@@ -5161,6 +5166,7 @@"resolved": "https://registry.npmjs.org/@tanstack/react-router/-/react-router-1.95.1.tgz","integrity": "sha512-P5x4yNhcdkYsCEoYeGZP8Q9Jlxf0WXJa4G/xvbmM905seZc9FqJqvCSRvX3dWTPOXRABhl4g+8DHqfft0c/AvQ==","license": "MIT",+ "peer": true,"dependencies": {"@tanstack/history": "1.95.0","@tanstack/react-store": "^0.7.0",@@ -5372,7 +5378,6 @@"integrity": "sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"@babel/code-frame": "^7.10.4","@babel/runtime": "^7.12.5",@@ -5393,7 +5398,6 @@"integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==","dev": true,"license": "Apache-2.0",- "peer": true,"dependencies": {"dequal": "^2.0.3"}@@ -5404,7 +5408,6 @@"integrity": "sha512-zIcONa+hVtVSSep9UT3jZ5rizo2BsxgyDYU7WFD5eICBE7no3881HGeb/QkGfsJs6JTkY1aQhT7rIPC7e+0nnA==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"@adobe/css-tools": "^4.4.0","aria-query": "^5.0.0",@@ -5424,8 +5427,7 @@"resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz","integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==","dev": true,- "license": "MIT",- "peer": true+ "license": "MIT"},"node_modules/@testing-library/user-event": {"version": "14.6.1",@@ -5433,7 +5435,6 @@"integrity": "sha512-vq7fv0rnt+QTXgPxr5Hjc210p6YKq2kmdziLgnsZGgLJ9e6VAShx1pACLuRjd/AS/sr7phAR58OIIpf0LlmQNw==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">=12","npm": ">=6"@@ -5454,8 +5455,7 @@"resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz","integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==","dev": true,- "license": "MIT",- "peer": true+ "license": "MIT"},"node_modules/@types/babel__core": {"version": "7.20.5",@@ -5508,7 +5508,6 @@"integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"@types/deep-eql": "*","assertion-error": "^2.0.1"@@ -5582,8 +5581,7 @@"resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz","integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==","dev": true,- "license": "MIT",- "peer": true+ "license": "MIT"},"node_modules/@types/doctrine": {"version": "0.0.9",@@ -5719,6 +5717,7 @@"resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.16.tgz","integrity": "sha512-oh8AMIC4Y2ciKufU8hnKgs+ufgbA/dhPTACaZPM86AbwX9QwnFtSoPWEeRUj8fge+v6kFt78BXcDhAU1SrrAsw==","license": "MIT",+ "peer": true,"dependencies": {"@types/prop-types": "*","csstype": "^3.0.2"@@ -5730,6 +5729,7 @@"integrity": "sha512-P4t6saawp+b/dFrUr2cvkVsfvPguwsxtH6dNIYRllMsefqFzkZk5UIjzyDOv5g1dXIPdG4Sp1yCR4Z6RCUsG/Q==","devOptional": true,"license": "MIT",+ "peer": true,"peerDependencies": {"@types/react": "^18.0.0"}@@ -5777,6 +5777,7 @@"integrity": "sha512-QXwAlHlbcAwNlEEMKQS2RCgJsgXrTJdjXT08xEgbPFa2yYQgVjBymxP5DrfrE7X7iodSzd9qBUHUycdyVJTW1w==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"@eslint-community/regexpp": "^4.10.0","@typescript-eslint/scope-manager": "8.34.0",@@ -5817,6 +5818,7 @@"integrity": "sha512-vxXJV1hVFx3IXz/oy2sICsJukaBrtDEQSBiV48/YIV5KWjX1dO+bcIr/kCPrW6weKXvsaGKFNlwH0v2eYdRRbA==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"@typescript-eslint/scope-manager": "8.34.0","@typescript-eslint/types": "8.34.0",@@ -6088,7 +6090,6 @@"integrity": "sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"@types/chai": "^5.2.2","@vitest/spy": "3.2.4",@@ -6106,7 +6107,6 @@"integrity": "sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"@vitest/spy": "3.2.4","estree-walker": "^3.0.3",@@ -6134,7 +6134,6 @@"integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"@types/estree": "^1.0.0"}@@ -6145,7 +6144,6 @@"integrity": "sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"tinyrainbow": "^2.0.0"},@@ -6159,7 +6157,6 @@"integrity": "sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"tinyspy": "^4.0.3"},@@ -6173,7 +6170,6 @@"integrity": "sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"@vitest/pretty-format": "3.2.4","loupe": "^3.1.4",@@ -6202,7 +6198,8 @@"version": "5.5.0","resolved": "https://registry.npmjs.org/@xterm/xterm/-/xterm-5.5.0.tgz","integrity": "sha512-hqJHYaQb5OptNunnyAnkHyM8aCjZ1MEIDTQu1iIbbTD/xops91NB5yq1ZK/dC2JDbVWtF23zUtl9JE2NqwT87A==",- "license": "MIT"+ "license": "MIT",+ "peer": true},"node_modules/@xyflow/react": {"version": "12.4.4",@@ -6268,6 +6265,7 @@"integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==","dev": true,"license": "MIT",+ "peer": true,"bin": {"acorn": "bin/acorn"},@@ -6384,7 +6382,6 @@"integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==","dev": true,"license": "Apache-2.0",- "peer": true,"engines": {"node": ">= 0.4"}@@ -6433,7 +6430,6 @@"integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"call-bind": "^1.0.7","define-properties": "^1.2.1",@@ -6514,7 +6510,6 @@"integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"call-bind": "^1.0.7","define-properties": "^1.2.1",@@ -6602,7 +6597,6 @@"integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">=12"}@@ -6613,7 +6607,6 @@"integrity": "sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"tslib": "^2.0.1"},@@ -6626,8 +6619,7 @@"resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz","integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==","dev": true,- "license": "MIT",- "peer": true+ "license": "MIT"},"node_modules/asynckit": {"version": "0.4.0",@@ -6677,7 +6669,6 @@"integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==","dev": true,"license": "Apache-2.0",- "peer": true,"engines": {"node": ">= 0.4"}@@ -6779,7 +6770,6 @@"integrity": "sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"open": "^8.0.4"},@@ -7016,6 +7006,7 @@}],"license": "MIT",+ "peer": true,"dependencies": {"baseline-browser-mapping": "^2.8.9","caniuse-lite": "^1.0.30001746",@@ -7197,7 +7188,6 @@"integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"assertion-error": "^2.0.1","check-error": "^2.1.1",@@ -7268,7 +7258,6 @@"integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">= 16"}@@ -8100,8 +8089,7 @@"resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz","integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==","dev": true,- "license": "MIT",- "peer": true+ "license": "MIT"},"node_modules/cssesc": {"version": "3.0.0",@@ -8120,7 +8108,8 @@"version": "3.1.3","resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz","integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",- "license": "MIT"+ "license": "MIT",+ "peer": true},"node_modules/cva": {"name": "class-variance-authority",@@ -8192,6 +8181,7 @@"resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz","integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==","license": "ISC",+ "peer": true,"engines": {"node": ">=12"}@@ -8245,8 +8235,7 @@"resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz","integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==","dev": true,- "license": "BSD-2-Clause",- "peer": true+ "license": "BSD-2-Clause"},"node_modules/data-view-buffer": {"version": "1.0.1",@@ -8362,7 +8351,6 @@"integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">=6"}@@ -8397,7 +8385,6 @@"integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">=8"}@@ -8528,8 +8515,7 @@"resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz","integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==","dev": true,- "license": "MIT",- "peer": true+ "license": "MIT"},"node_modules/dom-helpers": {"version": "5.2.1",@@ -8739,7 +8725,6 @@"integrity": "sha512-tpxqxncxnpw3c93u8n3VOzACmRFoVmWJqbWXvX/JfKbkhBw1oslgPrUfeSt2psuqyEJFD6N/9lg5i7bsKpoq+Q==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"call-bind": "^1.0.7","define-properties": "^1.2.1",@@ -8823,6 +8808,7 @@"dev": true,"hasInstallScript": true,"license": "MIT",+ "peer": true,"bin": {"esbuild": "bin/esbuild"},@@ -8864,7 +8850,6 @@"integrity": "sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"debug": "^4.3.4"},@@ -8901,6 +8886,7 @@"deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"@eslint-community/eslint-utils": "^4.2.0","@eslint-community/regexpp": "^4.6.1",@@ -8957,6 +8943,7 @@"integrity": "sha512-T75QYQVQX57jiNgpF9r1KegMICE94VYwoFQyMGhrvc+lB8YF2E/M/PYDaQe1AJcWaEgqLE+ErXV1Og/+6Vyzew==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"eslint-config-airbnb-base": "^15.0.0","object.assign": "^4.1.2",@@ -8979,6 +8966,7 @@"integrity": "sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"confusing-browser-globals": "^1.0.10","object.assign": "^4.1.2",@@ -9009,6 +8997,7 @@"integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==","dev": true,"license": "MIT",+ "peer": true,"bin": {"eslint-config-prettier": "bin/cli.js"},@@ -9108,6 +9097,7 @@"integrity": "sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"@rtsao/scc": "^1.1.0","array-includes": "^3.1.8",@@ -9237,7 +9227,6 @@"integrity": "sha512-EsTAnj9fLVr/GZleBLFbj/sSuXeWmp1eXIN60ceYnZveqEaUCyW4X+Vh4WTdUhCkW4xutXYqTXCUSyqD4rB75w==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"array-includes": "^3.1.8","array.prototype.findlast": "^1.2.5",@@ -9271,6 +9260,7 @@"integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==","dev": true,"license": "MIT",+ "peer": true,"engines": {"node": ">=10"},@@ -9294,7 +9284,6 @@"integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==","dev": true,"license": "Apache-2.0",- "peer": true,"dependencies": {"esutils": "^2.0.2"},@@ -9308,7 +9297,6 @@"integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"is-core-module": "^2.13.0","path-parse": "^1.0.7",@@ -9327,7 +9315,6 @@"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==","dev": true,"license": "ISC",- "peer": true,"bin": {"semver": "bin/semver.js"}@@ -9489,7 +9476,6 @@"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==","dev": true,"license": "BSD-2-Clause",- "peer": true,"bin": {"esparse": "bin/esparse.js","esvalidate": "bin/esvalidate.js"@@ -10520,6 +10506,7 @@}],"license": "MIT",+ "peer": true,"dependencies": {"@babel/runtime": "^7.23.2"},@@ -10613,7 +10600,6 @@"integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">=8"}@@ -10881,7 +10867,6 @@"integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==","dev": true,"license": "MIT",- "peer": true,"bin": {"is-docker": "cli.js"},@@ -11203,7 +11188,6 @@"integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"is-docker": "^2.0.0"},@@ -11239,7 +11223,6 @@"resolved": "https://registry.npmjs.org/isomorphic.js/-/isomorphic.js-0.2.5.tgz","integrity": "sha512-PIeMbHqMt4DnUP3MA/Flc0HElYjMXArsw1qwJZcm9sqR8mq3l8NYizFMty0pWwE/tzIGH3EKK5+jes5mAr85yw==","license": "MIT",- "peer": true,"funding": {"type": "GitHub Sponsors ❤","url": "https://github.com/sponsors/dmonad"@@ -11251,7 +11234,6 @@"integrity": "sha512-x4WH0BWmrMmg4oHHl+duwubhrvczGlyuGAZu3nvrf0UXOfPu8IhZObFEr7DE/iv01YgVZrsOiRcqw2srkKEDIA==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"define-data-property": "^1.1.4","es-object-atoms": "^1.0.0",@@ -11401,7 +11383,6 @@"integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"array-includes": "^3.1.6","array.prototype.flat": "^1.3.1",@@ -11436,8 +11417,7 @@"resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz","integrity": "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==","dev": true,- "license": "CC0-1.0",- "peer": true+ "license": "CC0-1.0"},"node_modules/language-tags": {"version": "1.0.9",@@ -11445,7 +11425,6 @@"integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"language-subtag-registry": "^0.3.20"},@@ -11478,7 +11457,6 @@"resolved": "https://registry.npmjs.org/lib0/-/lib0-0.2.102.tgz","integrity": "sha512-g70kydI0I1sZU0ChO8mBbhw0oUW/8U0GHzygpvEIx8k+jgOpqnTSb/E+70toYVqHxBhrERD21TwD5QcZJQ40ZQ==","license": "MIT",- "peer": true,"dependencies": {"isomorphic.js": "^0.2.4"},@@ -11803,8 +11781,7 @@"resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz","integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==","dev": true,- "license": "MIT",- "peer": true+ "license": "MIT"},"node_modules/lru-cache": {"version": "5.1.1",@@ -11831,7 +11808,6 @@"integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==","dev": true,"license": "MIT",- "peer": true,"bin": {"lz-string": "bin/bin.js"}@@ -12523,7 +12499,6 @@"integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">=4"}@@ -12872,7 +12847,6 @@"integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"define-lazy-prop": "^2.0.0","is-docker": "^2.1.1",@@ -13142,7 +13116,6 @@"integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">= 14.16"}@@ -13294,6 +13267,7 @@"integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==","dev": true,"license": "MIT",+ "peer": true,"bin": {"prettier": "bin/prettier.cjs"},@@ -13410,7 +13384,6 @@"integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"ansi-regex": "^5.0.1","ansi-styles": "^5.0.0",@@ -13426,7 +13399,6 @@"integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">=10"},@@ -13439,8 +13411,7 @@"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz","integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==","dev": true,- "license": "MIT",- "peer": true+ "license": "MIT"},"node_modules/prismjs": {"version": "1.30.0",@@ -13641,6 +13612,7 @@"resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz","integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==","license": "MIT",+ "peer": true,"dependencies": {"loose-envify": "^1.1.0"},@@ -13668,6 +13640,7 @@"resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz","integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==","license": "MIT",+ "peer": true,"dependencies": {"loose-envify": "^1.1.0","object-assign": "^4.1.1",@@ -13772,6 +13745,7 @@"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz","integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==","license": "MIT",+ "peer": true,"dependencies": {"loose-envify": "^1.1.0","scheduler": "^0.23.2"@@ -13822,6 +13796,7 @@"resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.56.3.tgz","integrity": "sha512-IK18V6GVbab4TAo1/cz3kqajxbDPGofdF0w7VHdCo0Nt8PrPlOZcuuDq9YYIV1BtjcX78x0XsldbQRQnQXWXmw==","license": "MIT",+ "peer": true,"engines": {"node": ">=18.0.0"},@@ -14071,7 +14046,6 @@"integrity": "sha512-YTUo+Flmw4ZXiWfQKGcwwc11KnoRAYgzAE2E7mXKCjSviTKShtxBsN6YUUBB2gtaBzKzeKunxhUwNHQuRryhWA==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"ast-types": "^0.16.1","esprima": "~4.0.0",@@ -14089,7 +14063,6 @@"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==","dev": true,"license": "BSD-3-Clause",- "peer": true,"engines": {"node": ">=0.10.0"}@@ -14106,7 +14079,6 @@"integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"indent-string": "^4.0.0","strip-indent": "^3.0.0"@@ -14121,7 +14093,6 @@"integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"min-indent": "^1.0.0"},@@ -14336,6 +14307,7 @@"integrity": "sha512-3GuObel8h7Kqdjt0gxkEzaifHTqLVW56Y/bjN7PSQtkKr0w3V/QYSdt6QWYtd7A1xUtYQigtdUfgj1RvWVtorw==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"@types/estree": "1.0.8"},@@ -14856,7 +14828,6 @@"integrity": "sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"call-bind": "^1.0.7","define-properties": "^1.2.1",@@ -14872,7 +14843,6 @@"integrity": "sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"call-bind": "^1.0.7","define-properties": "^1.2.1",@@ -14900,7 +14870,6 @@"integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==","dev": true,"license": "MIT",- "peer": true,"dependencies": {"define-properties": "^1.1.3","es-abstract": "^1.17.5"@@ -15121,7 +15090,8 @@"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.14.tgz","integrity": "sha512-b7pCxjGO98LnxVkKjaZSDeNuljC4ueKUddjENJOADtubtdo8llTaJy7HwBMeLNSSo2N5QIAgklslK1+Ir8r6CA==","dev": true,- "license": "MIT"+ "license": "MIT",+ "peer": true},"node_modules/tapable": {"version": "2.2.1",@@ -15225,7 +15195,6 @@"integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">=14.0.0"}@@ -15236,7 +15205,6 @@"integrity": "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">=14.0.0"}@@ -15531,6 +15499,7 @@"integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==","devOptional": true,"license": "Apache-2.0",+ "peer": true,"bin": {"tsc": "bin/tsc","tsserver": "bin/tsserver"@@ -15916,6 +15885,7 @@"integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"esbuild": "^0.25.0","fdir": "^6.4.4",@@ -16333,7 +16303,6 @@"integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==","dev": true,"license": "MIT",- "peer": true,"engines": {"node": ">=10.0.0"},@@ -16378,6 +16347,7 @@"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.1.tgz","integrity": "sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg==","license": "ISC",+ "peer": true,"bin": {"yaml": "bin.mjs"},@@ -16528,6 +16498,7 @@"resolved": "https://registry.npmjs.org/zod/-/zod-3.24.1.tgz","integrity": "sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A==","license": "MIT",+ "peer": true,"funding": {"url": "https://github.com/sponsors/colinhacks"}diff --git a/frontend/src/hooks/api/ca/constants.tsx b/frontend/src/hooks/api/ca/constants.tsxindex 3c2e951beb..5ab6ccad43 100644--- a/frontend/src/hooks/api/ca/constants.tsx+++ b/frontend/src/hooks/api/ca/constants.tsx@@ -39,7 +39,18 @@ export const CA_TYPE_CAPABILITIES_MAP: Record<CaType, CaCapability[]> = {CaCapability.REVOKE_CERTIFICATES,CaCapability.RENEW_CERTIFICATES],- [CaType.AZURE_AD_CS]: [CaCapability.ISSUE_CERTIFICATES, CaCapability.RENEW_CERTIFICATES]+ [CaType.AZURE_AD_CS]: [CaCapability.ISSUE_CERTIFICATES, CaCapability.RENEW_CERTIFICATES],+ [CaType.AWS_PCA]: [+ CaCapability.ISSUE_CERTIFICATES,+ CaCapability.REVOKE_CERTIFICATES,+ CaCapability.RENEW_CERTIFICATES+ ]+};++export const EXTERNAL_CA_TYPE_NAME_MAP: Record<string, string> = {+ [CaType.ACME]: "ACME",+ [CaType.AZURE_AD_CS]: "Active Directory Certificate Services (AD CS)",+ [CaType.AWS_PCA]: "AWS Private CA (PCA)"};/**diff --git a/frontend/src/hooks/api/ca/enums.tsx b/frontend/src/hooks/api/ca/enums.tsxindex 626fdcf7ae..b7900b486a 100644--- a/frontend/src/hooks/api/ca/enums.tsx+++ b/frontend/src/hooks/api/ca/enums.tsx@@ -1,7 +1,8 @@export enum CaType {INTERNAL = "internal",ACME = "acme",- AZURE_AD_CS = "azure-ad-cs"+ AZURE_AD_CS = "azure-ad-cs",+ AWS_PCA = "aws-pca"}export enum InternalCaType {diff --git a/frontend/src/hooks/api/ca/queries.tsx b/frontend/src/hooks/api/ca/queries.tsxindex c319fc6cdf..162f6c5aaf 100644--- a/frontend/src/hooks/api/ca/queries.tsx+++ b/frontend/src/hooks/api/ca/queries.tsx@@ -80,12 +80,15 @@ export const useListExternalCasByProjectId = (projectId: string) => {return useQuery({queryKey: caKeys.listExternalCasByProjectId(projectId),queryFn: async () => {- const [acmeResponse, azureAdCsResponse] = await Promise.allSettled([+ const [acmeResponse, azureAdCsResponse, awsPcaResponse] = await Promise.allSettled([apiRequest.get<TUnifiedCertificateAuthority[]>(`/api/v1/cert-manager/ca/${CaType.ACME}?projectId=${projectId}`),apiRequest.get<TUnifiedCertificateAuthority[]>(`/api/v1/cert-manager/ca/${CaType.AZURE_AD_CS}?projectId=${projectId}`+ ),+ apiRequest.get<TUnifiedCertificateAuthority[]>(+ `/api/v1/cert-manager/ca/${CaType.AWS_PCA}?projectId=${projectId}`)]);@@ -99,6 +102,10 @@ export const useListExternalCasByProjectId = (projectId: string) => {allCas.push(...azureAdCsResponse.value.data);}+ if (awsPcaResponse.status === "fulfilled") {+ allCas.push(...awsPcaResponse.value.data);+ }+return allCas;}});diff --git a/frontend/src/hooks/api/ca/types.ts b/frontend/src/hooks/api/ca/types.tsindex 57af492592..8a0efed6de 100644--- a/frontend/src/hooks/api/ca/types.ts+++ b/frontend/src/hooks/api/ca/types.ts@@ -34,6 +34,20 @@ export type TAzureAdCsCertificateAuthority = {};};+export type TAwsPcaCertificateAuthority = {+ id: string;+ projectId: string;+ type: CaType.AWS_PCA;+ status: CaStatus;+ name: string;+ enableDirectIssuance: boolean;+ configuration: {+ appConnectionId: string;+ certificateAuthorityArn: string;+ region: string;+ };+};+export type TInternalCertificateAuthority = {id: string;projectId: string;@@ -64,6 +78,7 @@ export type TInternalCertificateAuthority = {export type TUnifiedCertificateAuthority =| TAcmeCertificateAuthority| TAzureAdCsCertificateAuthority+ | TAwsPcaCertificateAuthority| TInternalCertificateAuthority;export type TCreateCertificateAuthorityDTO = Omit<diff --git a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaModal.tsx b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaModal.tsxindex 413d6d9bde..9a63225c52 100644--- a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaModal.tsx+++ b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaModal.tsx@@ -6,6 +6,7 @@ import { z } from "zod";import { AppConnectionOption } from "@app/components/app-connections";import { createNotification } from "@app/components/notifications";+import { AwsRegionSelect } from "@app/components/secret-syncs/forms/SecretSyncDestinationFields/shared/AwsRegionSelect";import {Button,FilterableSelect,@@ -110,6 +111,15 @@ const azureAdCsConfigurationSchema = z.object({})});+const awsPcaConfigurationSchema = z.object({+ awsConnection: z.object({+ id: z.string().min(1, "AWS Connection is required"),+ name: z.string()+ }),+ certificateAuthorityArn: z.string().trim().min(1, "Certificate Authority ARN is required"),+ region: z.string().min(1, "Region is required")+});+const schema = z.discriminatedUnion("type", [baseSchema.extend({type: z.literal(CaType.ACME),@@ -118,6 +128,10 @@ const schema = z.discriminatedUnion("type", [baseSchema.extend({type: z.literal(CaType.AZURE_AD_CS),configuration: azureAdCsConfigurationSchema+ }),+ baseSchema.extend({+ type: z.literal(CaType.AWS_PCA),+ configuration: awsPcaConfigurationSchema})]);@@ -130,7 +144,8 @@ type Props = {const caTypes = [{ label: "ACME", value: CaType.ACME },- { label: "Active Directory Certificate Services (AD CS)", value: CaType.AZURE_AD_CS }+ { label: "Active Directory Certificate Services (AD CS)", value: CaType.AZURE_AD_CS },+ { label: "AWS Private CA (PCA)", value: CaType.AWS_PCA }];export const ExternalCaModal = ({ popUp, handlePopUpToggle }: Props) => {@@ -180,6 +195,20 @@ export const ExternalCaModal = ({ popUp, handlePopUpToggle }: Props) => {}}});+ } else if (initialType === CaType.AWS_PCA) {+ reset({+ type: CaType.AWS_PCA,+ name: "",+ status: CaStatus.ACTIVE,+ configuration: {+ awsConnection: {+ id: "",+ name: ""+ },+ certificateAuthorityArn: "",+ region: ""+ }+ });} else {reset({type: CaType.ACME,@@ -229,10 +258,21 @@ export const ExternalCaModal = ({ popUp, handlePopUpToggle }: Props) => {enabled: caType === CaType.AZURE_AD_CS});+ const { data: availableAwsConnections, isPending: isAwsPending } = useListAvailableAppConnections(+ AppConnection.AWS,+ currentProject.id,+ {+ enabled: caType === CaType.AWS_PCA+ }+ );+const availableConnections: TAvailableAppConnection[] = useMemo(() => {if (caType === CaType.AZURE_AD_CS) {return availableAzureConnections || [];}+ if (caType === CaType.AWS_PCA) {+ return availableAwsConnections || [];+ }return [...(availableRoute53Connections || []),...(availableCloudflareConnections || []),@@ -245,7 +285,8 @@ export const ExternalCaModal = ({ popUp, handlePopUpToggle }: Props) => {availableCloudflareConnections,availableDNSMadeEasyConnections,availableAzureDNSConnections,- availableAzureConnections+ availableAzureConnections,+ availableAwsConnections]);const isPending =@@ -253,7 +294,8 @@ export const ExternalCaModal = ({ popUp, handlePopUpToggle }: Props) => {isCloudflarePending ||isDNSMadeEasyPending ||isAzureDNSPending ||- (isAzurePending && caType === CaType.AZURE_AD_CS);+ (isAzurePending && caType === CaType.AZURE_AD_CS) ||+ (isAwsPending && caType === CaType.AWS_PCA);const dnsAppConnection =caType === CaType.ACME && configuration && "dnsAppConnection" in configuration@@ -318,6 +360,24 @@ export const ExternalCaModal = ({ popUp, handlePopUpToggle }: Props) => {}}});+ } else if (ca.type === CaType.AWS_PCA && availableConnections?.length) {+ const selectedConnection = availableConnections?.find(+ (connection) => connection.id === ca.configuration.appConnectionId+ );++ reset({+ type: ca.type,+ name: ca.name,+ status: ca.status,+ configuration: {+ awsConnection: {+ id: ca.configuration.appConnectionId,+ name: selectedConnection?.name || ""+ },+ certificateAuthorityArn: ca.configuration.certificateAuthorityArn,+ region: ca.configuration.region+ }+ });}}}, [ca, availableConnections, reset, isCaLoading]);@@ -345,6 +405,12 @@ export const ExternalCaModal = ({ popUp, handlePopUpToggle }: Props) => {configPayload = {azureAdcsConnectionId: formConfiguration.azureAdcsConnection.id};+ } else if (type === CaType.AWS_PCA && "awsConnection" in formConfiguration) {+ configPayload = {+ appConnectionId: formConfiguration.awsConnection.id,+ certificateAuthorityArn: formConfiguration.certificateAuthorityArn,+ region: formConfiguration.region+ };} else {throw new Error("Invalid certificate authority configuration");}@@ -682,6 +748,68 @@ export const ExternalCaModal = ({ popUp, handlePopUpToggle }: Props) => {name="configuration.azureAdcsConnection"/>)}+ {caType === CaType.AWS_PCA && (+ <>+ <Controller+ render={({ field: { value, onChange }, fieldState: { error } }) => (+ <FormControl+ tooltipText="AWS App Connection provides the credentials used to communicate with AWS Private Certificate Authority."+ isError={Boolean(error)}+ errorText={error?.message}+ label="AWS Connection"+ >+ <FilterableSelect+ value={value}+ onChange={(newValue) => {+ onChange(newValue);+ }}+ isLoading={isPending}+ options={availableConnections}+ placeholder="Select connection..."+ getOptionLabel={(option) => option.name}+ getOptionValue={(option) => option.id}+ components={{ Option: AppConnectionOption }}+ />+ </FormControl>+ )}+ control={control}+ name="configuration.awsConnection"+ />+ <Controller+ control={control}+ defaultValue=""+ name="configuration.certificateAuthorityArn"+ render={({ field, fieldState: { error } }) => (+ <FormControl+ label="Certificate Authority ARN"+ isError={Boolean(error)}+ errorText={error?.message}+ isRequired+ >+ <Input+ {...field}+ placeholder="arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/abc-123"+ />+ </FormControl>+ )}+ />+ <Controller+ control={control}+ defaultValue=""+ name="configuration.region"+ render={({ field: { value, onChange }, fieldState: { error } }) => (+ <FormControl+ label="Region"+ isError={Boolean(error)}+ errorText={error?.message}+ isRequired+ >+ <AwsRegionSelect value={value} onChange={(v) => onChange(v || "")} />+ </FormControl>+ )}+ />+ </>+ )}<div className="flex items-center"><ButtonclassName="mr-4"diff --git a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaTable.tsx b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaTable.tsxindex b8ba09d3e9..5ace299114 100644--- a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaTable.tsx+++ b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/components/ExternalCaTable.tsx@@ -34,7 +34,11 @@ import {useProjectPermission} from "@app/context";import { CaStatus, CaType, useListExternalCasByProjectId } from "@app/hooks/api";-import { caStatusToNameMap, getCaStatusBadgeVariant } from "@app/hooks/api/ca/constants";+import {+ caStatusToNameMap,+ EXTERNAL_CA_TYPE_NAME_MAP,+ getCaStatusBadgeVariant+} from "@app/hooks/api/ca/constants";import { UsePopUpState } from "@app/hooks/usePopUp";type Props = {@@ -97,7 +101,7 @@ export const ExternalCaTable = ({ handlePopUpOpen }: Props) => {}><Td>{ca.name}</Td>- <Td>{ca.type}</Td>+ <Td>{EXTERNAL_CA_TYPE_NAME_MAP[ca.type] || ca.type}</Td><Td><Badge variant={getCaStatusBadgeVariant(ca.status)}>{caStatusToNameMap[ca.status]}diff --git a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/ProfileRow.tsx b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/ProfileRow.tsxindex 55ab64ffe6..d4db06a748 100644--- a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/ProfileRow.tsx+++ b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/ProfileRow.tsx@@ -48,7 +48,8 @@ export const ProfileRow = ({onRevealProfileAcmeEabSecret,onDeleteProfile}: Props) => {- const { data: caData } = useGetInternalCaById(profile.caId ?? "");+ const isInternalCa = !profile.certificateAuthority?.isExternal;+ const { data: caData } = useGetInternalCaById(isInternalCa ? (profile.caId ?? "") : "");const { popUp, handlePopUpToggle } = usePopUp(["issueCertificate"] as const);