Mattermost: 5. Retrieve credentials

This documentation is part of the Automate with the CLI 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 offers 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 restrictions.
  • A dedicated SMTP email server with no extra limits, included by default.
  • Full control over your domain name, automatically secured with HTTPS (for example, https://chat.your-company.com).
  • Updates made simple, managed with a single 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 easy to use in scripts and automation.

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