Realm Keystore Rsa Args
data class RealmKeystoreRsaArgs(val active: Output<Boolean>? = null, val algorithm: Output<String>? = null, val certificate: Output<String>? = null, val enabled: Output<Boolean>? = null, val name: Output<String>? = null, val priority: Output<Int>? = null, val privateKey: Output<String>? = null, val providerId: Output<String>? = null, val realmId: Output<String>? = null) : ConvertibleToJava<RealmKeystoreRsaArgs>
Allows for creating and managing rsa
Realm keystores within Keycloak. A realm keystore manages generated key pairs that are used by Keycloak to perform cryptographic signatures and encryption.
Example Usage
resources:
realm:
type: keycloak:Realm
properties:
realm: my-realm
keystoreRsa:
type: keycloak:RealmKeystoreRsa
name: keystore_rsa
properties:
name: my-rsa-key
realmId: ${realm.id}
enabled: true
active: true
privateKey: <your rsa private key>
certificate: <your certificate>
priority: 100
algorithm: RS256
keystoreSize: 2048
providerId: rsa
Content copied to clipboard
Import
Realm keys can be imported using realm name and keystore id, you can find it in web UI. Example: bash
$ pulumi import keycloak:index/realmKeystoreRsa:RealmKeystoreRsa keystore_rsa my-realm/618cfba7-49aa-4c09-9a19-2f699b576f0b
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(active: Output<Boolean>? = null, algorithm: Output<String>? = null, certificate: Output<String>? = null, enabled: Output<Boolean>? = null, name: Output<String>? = null, priority: Output<Int>? = null, privateKey: Output<String>? = null, providerId: Output<String>? = null, realmId: Output<String>? = null)