<@ULVA73B9P> in the prefect cloud cli, how do I ch...
# ask-marvin
b
@Marvin in the prefect cloud cli, how do I check who I'm logged in as?
m
To check who you're logged in as using the Prefect Cloud CLI, you can use the
prefect config view
command which will show your current Prefect configuration including the active Prefect profile, API key, and API URL. This will give you an idea of the account associated with the API key. Additionally, you can use the
prefect cloud workspace ls
command to view the active workspace, which may provide further hints about the logged-in user. If you want to ensure that the account and workspace IDs match those in the URL bar of your Prefect Cloud workspace, you can compare them with the ones displayed through the
prefect config view
command. You can find further details on these commands in the Connecting to Prefect Cloud and Prefect Settings documentation. Please note that the CLI does not explicitly display the username or email address of the logged-in user.