Skip to content

Commit

Permalink
Fix quotation mark for OpenSearch password (#1596)
Browse files Browse the repository at this point in the history
  • Loading branch information
kakakakakku authored Dec 16, 2024
1 parent 38240a1 commit 2a0c192
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/user-guide/aws/opensearch/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ $ awslocal opensearch create-domain --cli-input-json file://./opensearch_domain.
Once the domain setup is complete (`Processing: false`), the cluster can only be accessed with the given master user credentials, via HTTP basic authentication:

{{< command >}}
$ curl -u "admin:really-secure-passwordAa!1" http://secure-domain.us-east-1.opensearch.localhost.localstack.cloud:4566/_cluster/health
$ curl -u 'admin:really-secure-passwordAa!1' http://secure-domain.us-east-1.opensearch.localhost.localstack.cloud:4566/_cluster/health
{{< /command >}}

The following output will be visible on your terminal:
Expand Down Expand Up @@ -265,7 +265,7 @@ docker run --rm -p 5601:5601 \
--network ls \
--dns 172.22.0.2 \
-e "OPENSEARCH_HOSTS=http://secure-domain.us-east-1.opensearch.localhost.localstack.cloud:4566" \
-e "OPENSEARCH_USERNAME=admin" -e "OPENSEARCH_PASSWORD=really-secure-passwordAa!1" \
-e "OPENSEARCH_USERNAME=admin" -e 'OPENSEARCH_PASSWORD=really-secure-passwordAa!1' \
opensearchproject/opensearch-dashboards:2.11.0
{{< /command >}}

Expand Down

0 comments on commit 2a0c192

Please sign in to comment.