Skip to main content
porter cloud-accounts contains commands for viewing the AWS, GCP, and Azure cloud accounts connected to your Porter project.

Prerequisites


porter cloud-accounts list

List the cloud accounts connected to the current project. The command prints a table with each account’s name, provider, provider account ID, connection status, and the date it was connected. Usage:
Flags:

Examples

List every cloud account connected to the current project:
Show only the AWS and GCP accounts that have finished connecting, sorted by name:
List cloud accounts in a specific project without changing your active configuration:

JSON output

Pass --json to get a machine-readable response suitable for scripting or piping into tools like jq:
When the output is piped to another command, the table renders as tab-separated values with no header row, so you can grep or awk columns directly.