Update SAML tutorial with new default Admin settings (#6279)

* Update SAML tutorial with new default Admin settings

Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>

* Add variable

Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Melissa Vagi <vagimeli@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>

---------

Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Melissa Vagi <vagimeli@amazon.com>
This commit is contained in:
Naarcha-AWS 2024-02-01 12:58:12 -06:00 committed by GitHub
parent 5093bd2257
commit 0801f38b5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -30,24 +30,24 @@ We provide a fully functional example that can help you understand how to use SA
You can remove "customize" from the file names if you plan to modify and keep these files for production.
{: .tip }
1. In the `docker-compose.yml` file, specify your OpenSearch version number in the `image` field for nodes 1 and 2, and OpenSearch Dashboards server. For example, if you are running OpenSearch version 2.6, the `image` fields will resemble the following examples:
1. In the `docker-compose.yml` file, specify your OpenSearch version number in the `image` field for nodes 1 and 2 and the OpenSearch Dashboards server. For example, if you are running OpenSearch version {{site.opensearch_major_minor_version}}, the `image` fields will resemble the following examples:
```yml
opensearch-saml-node1:
image: opensearchproject/opensearch:2.8.0
image: opensearchproject/opensearch:{{site.opensearch_major_minor_version}}
```
```yml
opensearch-saml-node2:
image: opensearchproject/opensearch:2.8.0
image: opensearchproject/opensearch:{{site.opensearch_major_minor_version}}
```
```yml
opensearch-saml-dashboards:
image: opensearchproject/opensearch-dashboards:2.8.0
image: opensearchproject/opensearch-dashboards:{{site.opensearch_major_minor_version}}
```
1. Access OpenSearch Dashboards at [http://localhost:5601](http://localhost:5601){:target='\_blank'}. Note that OpenSearch Dashboards immediately redirects you to the SAML login page.
1. Log in as `admin` with a password of `admin`.
1. Log in to OpenSearch Dashboards. The default username is `admin` and the default password is set in your `customize-docker-compose.yml` file in the `OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password>` setting.
1. After logging in, note that your user in the upper-right is `SAMLAdmin`, as defined in `/var/www/simplesamlphp/config/authsources.php` of the SAML server.