keycloak-scim/docs/guides/securing-apps/partials/saml/sp-keys/key_pems.adoc

22 lines
616 B
Text
Raw Normal View History

2016-06-02 16:07:45 +00:00
=== Key PEMS
2016-06-02 16:07:45 +00:00
2016-06-02 20:50:43 +00:00
Within the `Key` element you declare your keys and certificates directly using the sub elements
`PrivateKeyPem`, `PublicKeyPem`, and `CertificatePem`.
2016-06-02 16:07:45 +00:00
The values contained in these elements must conform to the PEM key format.
2016-06-02 20:50:43 +00:00
You usually use this option if you are generating keys using `openssl` or similar command line tool.
[source,xml]
----
<Keys>
2016-12-04 20:44:53 +00:00
<Key signing="true">
2016-06-02 20:50:43 +00:00
<PrivateKeyPem>
2341251234AB31234==231BB998311222423522334
</PrivateKeyPem>
<CertificatePem>
211111341251234AB31234==231BB998311222423522334
</CertificatePem>
</Key>
</Keys>
----