RabbitMQ: 5. Retrieve credentials

This documentation is part of the Automating with the CLI guide. You can view the complete guide here: Start RabbitMQ, retrieve its credentials, and programmatically update its configuration using the Stackhero CLI.

The service-configuration-get command returns the complete configuration for your service, including auto-generated passwords and connection details. The output is in JSON format, making it easy to use in scripts and automation.

stackhero service-configuration-get --service=svc-xxxxxx --format=json