Mattermost: 5. Retrieve credentials

This documentation is part of the Full CLI Automation Workflow guide. You can view the complete guide here: Start Mattermost, retrieve its credentials, and modify its configuration programmatically using the Stackhero CLI.

Welcome to the Stackhero documentation

Stackhero provides a production-ready Mattermost cloud environment, designed for seamless collaboration and enhanced data protection. Key benefits include:

  • Unlimited users and channels to support your team's growth without restriction.
  • A dedicated SMTP email server with no additional limits, included as standard.
  • Full control over your domain name, automatically secured with HTTPS (for example, https://chat.your-company.com).
  • Updates made simple, managed in just one click.
  • High performance and advanced security on a private, dedicated infrastructure: your data remains isolated and confidential.
  • Hosting available in both 🇪🇺 Europe and 🇺🇸 USA regions.

You can get started in just a few minutes. Stackhero takes care of installation, security, and operational management for your Mattermost cloud hosting, providing you with a secure and scalable collaboration platform with minimal effort.

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 straightforward to use in scripts and automation.

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