(fastapi-framework-extension)= # FastAPI framework extension The `fastapi-framework` extension includes configuration options customised for a FastAPI application. This document describes all the keys that a user may interact with. ```{tip} If you'd like to see the full contents contributed by this extension, see {ref}`How to manage extensions `. ``` ## `charmcraft.yaml` > `config` > `options` You can use the predefined options (run `charmcraft expand-extensions` for details) but also add your own, as needed. In the latter case, any option you define will be used to generate environment variables; a user-defined option `config-option-name` will generate an environment variable named `APP_CONFIG_OPTION_NAME` where the option name is converted to upper case, dashes will be converted to underscores and the `APP_` prefix will be added. In either case, you will be able to set it in the usual way by running `juju config