Skip to content

Commit

Permalink
Describe SAML supported private key format and encryption algorithm (#…
Browse files Browse the repository at this point in the history
…1855)

OpenSearch allows signing requests by using a private key in the PKCS#8 format. If a user wants to use an encrypted key, the key must be encrypted with a PKCS#12-compatible algorithm.

The `SAML -> Request signing` documentation is extended with the requirements. It should save time of the customers who use wrong key formats or a good key format, but encrypted with an unsupported algorithm (e.g. PKCS#5 2.0 compatible algorithm).

Signed-off-by: Adam Gabryś <adam.gabrys@live.com>
  • Loading branch information
agabrys authored May 18, 2023
1 parent 2e49b86 commit b52424e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _security/authentication-backends/saml.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ Name | Description
`sp.signature_private_key_filepath` | Path to the private key. The file must be placed under the OpenSearch `config` directory, and the path must be specified relative to that same directory.
`sp.signature_algorithm` | The algorithm used to sign the requests. See the next table for possible values.
The private key must be in PKCS#8 format. If you want to use an encrypted key, it must be encrypted with a PKCS#12-compatible algorithm (3DES).
The Security plugin supports the following signature algorithms.
Algorithm | Value
Expand Down

0 comments on commit b52424e

Please sign in to comment.