NewCommand creates a new Cobra command that can be used to show details of a configured cloud provider credential, with
optional flags for output and workspace.
Run attempts to retrieve the credentials for a given cloud provider and prints them in a formatted table. It
returns an error if the cloud provider cannot be found or if there is an issue with writing the formatted table.