README
TODO when a service has a domain that is not one of the ns domains its not creating a soa record
TODO mark position in output when serde returns something like at line 1 column 357
JavaScript / TypeScript
git.y.gy | GitLab | GitHub | NPM
Install
yarn add @pektin/client
npm i @pektin/client
Basic Use
Normaly you should NEVER store your credentials in a code file but use something like a .env file. Have a look at dotenv for Node.js.
import { PektinClient } from "@pektin/client";
const pc = new PektinClient({
username: "ui-j-6samfz_r1OTQ",
password:
"Bq9Wvf4_FeDtKNoxdFLJweZzYhKVnN4Ll9SiQniyBRQIu2c_1BIHqGihFr6KlQproTrMndkSA50aUQY_HS8VRJNWBdveGAeoWWwcGrECPBwgIygDbKUjeXHaGE2FOvXeWTmbHg",
vaultEndpoint: "https://vault-pektin.pektin.xyz",
});
console.log(await pc.getDomains());
- "manager" that can create vault roles holds pw for "confidant"
- "confidant" holds half of password for "signers"
- "signer" can sign for domains