The provider command group manages your connected cloud accounts. Use it to add new accounts, trigger resource syncs, check sync status, and remove accounts you no longer need.
provider list
List all connected cloud provider accounts:
Example output:
provider connect
Connect a new cloud provider account. The CLI prompts interactively for credentials if flags are not provided.
Synopsis:
Flags available for non-interactive use:
provider sync
Trigger a manual resource sync from a connected provider. InfraAudit pulls the current resource inventory from the cloud account and updates the database.
Synopsis:
Example:
provider status
Show the sync status for all connected providers:
provider disconnect
Remove a provider account from InfraAudit. Credential data is deleted; historical scan data and findings are retained.
Synopsis:
Example:
Disconnecting a provider removes its credentials from InfraAudit permanently. Historical data is preserved, but no new syncs or scans can run against that account until you reconnect it.