Skip to main content

prefect.cli.cloud

Cloud command — authenticate and interact with Prefect Cloud.

Functions

login

Log in to Prefect Cloud. Creates a new profile configured to use the specified PREFECT_API_KEY. Uses a previously configured profile if it exists.

logout

Logout the current workspace. Reset PREFECT_API_KEY and PREFECT_API_URL to default.

workspace_ls

List available workspaces.

workspace_set

Set current workspace. Shows a workspace picker if no workspace is specified.