OpenSearch/docs/en/settings
Yogesh Gaikwad ed6a6af64c SAML: Make alias for signing key optional (elastic/x-pack-elasticsearch#4248)
We specify an alias for signing key, but when we just have
a single key in key store this is an additional setting which
is annoying. This PR addresses this issue by making it optional.

- Changes in SamlRealmSettings to make signing/encryption
  key alias optional
- Checks if none of the keys are useful for given operation
  signing or encryption throws an error.
- Checks for no of aliases in key-store, if more than one and alias
  is not specified throws error.
- If an alias is not specified and there is just one alias in
  keystore then use it as the credential.
- Unit Tests

Note: A side effect of this change the above-mentioned behavior is
it's also applicable for encryption keys currently, but it is going
to change when fixing elastic/x-pack-elasticsearch#3980 for supporting multiple encryption keys.

relates elastic/x-pack-elasticsearch#3981

Original commit: elastic/x-pack-elasticsearch@2b5af1d8a8
2018-04-06 10:43:35 +10:00
..
images [DOCS] Migrating images to separate x-pack repos. 2017-04-18 13:13:12 -07:00
audit-settings.asciidoc [DOCS] Move auditing settings to Elasticsearch Reference (elastic/x-pack-elasticsearch#3608) 2018-01-18 09:18:24 -08:00
configuring-xes.asciidoc Merge remote-tracking branch 'origin/master' into feature/sql_2 2018-01-29 15:42:01 -07:00
license-settings.asciidoc Default to basic license at startup (elastic/x-pack-elasticsearch#3878) 2018-02-12 12:57:04 -07:00
ml-settings.asciidoc [DOCS] Added xpack.ml.node_concurrent_job_allocations setting (elastic/x-pack-elasticsearch#3327) 2017-12-15 11:19:11 -08:00
monitoring-settings.asciidoc [DOCS] Removed xpack installation comments (elastic/x-pack-elasticsearch#4153) 2018-03-20 11:26:34 -07:00
notification-settings.asciidoc Docs: Fix encrypt watcher sensitive data documentation (elastic/x-pack-elasticsearch#4198) 2018-03-22 18:57:31 +01:00
security-settings.asciidoc SAML: Make alias for signing key optional (elastic/x-pack-elasticsearch#4248) 2018-04-06 10:43:35 +10:00
sql-settings.asciidoc [DOCS] Removed X-Pack installation info (elastic/x-pack-elasticsearch#4299) 2018-04-04 11:59:31 -07:00
ssl-settings.asciidoc [DOCS] Add secure versions of SSL passphrases (elastic/x-pack-elasticsearch#2478) 2017-10-24 16:38:37 +01:00