Skip to main content
SDK-only projects can use @fentaris/core and the local fentaris auth and fentaris secrets commands without creating fentaris.json. The CLI discovers the nearest package.json that depends on @fentaris/core.

Quick Start

Install the core package and CLI:
Add Fentaris metadata to package.json:
Declare the credential reference and its encrypted local source in the entrypoint:
Generate the committed manifest:
Store local values without putting them in shell history:
The default-scope CLI command writes defaults.github.token, matching the credentialJson(...) declaration. Use --user <id> or --group <id> only when the TypeScript configuration declares the corresponding user or group credential source.

Manage Client API Keys

Run the guided auth menu from the SDK-only project or one of its subdirectories:
The CLI uses the same package discovery and fentaris.authDir setting as secrets commands. For automation, provide the user and key source explicitly:
Fentaris prints a generated key once and stores only its hash.

What To Commit

Commit the manifest and the package metadata:
Do not commit the encrypted local credential store:
.fentaris/secrets.manifest.json contains reference names and scopes only. It is the schema teammates and CI need; it does not contain secret values.

Validate In CI

Use manifest check mode to catch stale credential declarations:
Run fentaris secrets doctor locally when a teammate cannot start the proxy because a required credential is missing.