Authenticate a profile
Interactive login opens a browser:Selection order
The CLI selects exactly one profile in this order:- The global
--profile <name>option. - The repository’s
.gleanfeed.jsonprofile. - The active user profile selected by
gleanfeed profile switch <name>.
Initialize a repository
Run from any directory inside the Git repository:.gleanfeed.json
version, profile, and workspaceId are required. defaultBoard,
portalUrl, and appUrl are optional non-secret conveniences. Repository config
cannot set an API endpoint, credential, user data, or absolute machine path.
The CLI does not modify .gitignore. Review the file, then deliberately commit
it when collaborators should share the workspace selector.
Inspect and update supported fields
version and workspaceId are derived and read-only. Setting profile refreshes
the expected workspace ID from that authenticated local profile. Re-running
init preserves supported values that were not replaced on the command line.
Where credentials live
Profile metadata and credentials live in the current user’s application config directory, separate from the repository. On macOS and Linux, the directory is owner-only (0700) and both files are owner-readable/writable (0600). Windows
uses the current user’s application-data ACLs. Writes use same-directory
temporary files and atomic renames.
Set GLEAN_FEED_CONFIG_DIR only for an isolated test or automation root. Do not
commit that directory.
Remove access
.gleanfeed.json
when the repository should no longer select the workspace.
See CLI security for scope, rotation, and telemetry details.