> 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.

## Create API keys with `profiles create --provision`

auth, generators.yml

Set `profiles.provisionOperation` to the operation that creates an API key (for example `iam.keys.create`). `profiles create` then gains `--provision`, which calls that operation with the credentials already in the environment and saves the returned key to the new profile. It's the create-side counterpart of `revokeOperation`.

Read the docs