> This page is for CLI Generator.

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. For task-scoped instructions for coding agents working in a Fern project, see https://buildwithfern.com/learn/home/fern-instructions.md.

## Guided API-key setup

auth, generators.yml

CLIs with `profiles.provisionOperation` configured now walk users through creating a key-backed profile in an interactive terminal. `auth login` and a bare `profiles create <name>` ask for a profile name and the credential, offer to create an API key with it, and store only the new key. `profiles remove` offers to revoke the profile's key. `provisionOperation` also accepts `flag`, `parameters`, and `profileParameters`.

Read the docs