OpenSearch: 5. Retrieve credentials
This documentation is part of the Automate with the CLI guide. View the full guide here: Start OpenSearch, retrieve its credentials, and change its configuration programmatically with the Stackhero CLI.
👋 Welcome to the Stackhero documentation!
Stackhero provides a fully managed OpenSearch cloud environment designed for both performance and security:
- High performance and strong security on a private, dedicated infrastructure.
- Use your own custom domain name, protected with HTTPS by default.
- Built-in OpenSearch Dashboards for easy data exploration and visualization.
Cut out setup and maintenance hassles: you can be up and running with OpenSearch cloud hosting from Stackhero in just a few minutes.
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