feat: initialize azure-acme-provisioner project with core functionality
- Add package.json for project metadata and dependencies - Implement CLI in src/cli.ts for managing SSL/TLS certificates - Create Azure Functions host configuration in src/function/host.json - Set up timer function in src/function/index.ts for scheduled certificate management - Define configuration loading and error handling in src/lib/config.ts - Implement DNS zone scanning and challenge management in src/lib/dns.ts - Develop ACME client for certificate issuance in src/lib/acme.ts - Create KeyVault store for managing secrets and certificates in src/lib/keyvault.ts - Implement provisioning logic in src/lib/provisioner.ts for issuing and renewing certificates - Add TypeScript configuration files for building the project
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"name": "azure-acme-provisioner",
|
||||
"version": "0.1.0",
|
||||
"author": {
|
||||
"name": "Sławomir Koszewski",
|
||||
"url": "https://github.com/skoszewski"
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
"type":"MIT",
|
||||
"url": "https://opensource.org/licenses/MIT"
|
||||
}
|
||||
],
|
||||
"description": "Automated SSL/TLS certificate management using ACME protocol with Azure KeyVault and Azure DNS",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"bin": {
|
||||
"azure-acme-provisioner": "./dist/cli.js"
|
||||
},
|
||||
"files": [
|
||||
"dist/",
|
||||
"!dist/**/*.test.*"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.build.json",
|
||||
"build:watch": "tsc -p tsconfig.build.json --watch",
|
||||
"clean": "rimraf dist",
|
||||
"lint": "tsc --noEmit",
|
||||
"prebuild": "npm run clean",
|
||||
"start": "node dist/cli.js run",
|
||||
"start:function": "func start"
|
||||
},
|
||||
"dependencies": {
|
||||
"@azure/arm-dns": "^5.1.0",
|
||||
"@azure/functions": "^4.14.0",
|
||||
"@azure/identity": "^4.13.1",
|
||||
"@azure/keyvault-certificates": "^4.10.3",
|
||||
"@azure/keyvault-secrets": "^4.11.2",
|
||||
"@peculiar/x509": "^2.0.0",
|
||||
"acme-client": "^5.4.0",
|
||||
"commander": "^14.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.0.0",
|
||||
"rimraf": "^6.1.3",
|
||||
"typescript": "^6.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.0.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
Reference in New Issue
Block a user