Package org.forgerock.openig.secrets
Class PemPropertyFormatHeaplet
java.lang.Object
org.forgerock.openig.heap.GenericHeaplet
org.forgerock.openig.secrets.PemPropertyFormatHeaplet
- All Implemented Interfaces:
Heaplet
Builds a
PemPropertyFormat
used to decode keys and certificates in a
PEM format that can be used
with SecretStore
mappings configuration.
{
"type": "PemPropertyFormat",
"config": {
"decryptionSecretId": Secret ID [OPTIONAL - used to decrypt password-encrypted
PEM files.
REQUIRES a "secretsProvider".]
"secretsProvider": Secrets Provider [OPTIONAL - secrets provider used to retrieve
the decryption secret.
REQUIRED if "decryptionSecretId" is used.]
}
}
Example:
{
"type": "PemPropertyFormat",
"config": {
"decryptionSecretId": "my.decryption.secret.id",
"secretsProvider": "mySecretProvider"
}
}
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.forgerock.openig.heap.GenericHeaplet
create, destroy, endpointRegistry, evaluatedWithHeapProperties, expression, getConfig, getHeap, getType, initialBindings, meterRegistryHolder, start
-
Field Details
-
NAME
Public name used by resolver.- See Also:
-
-
Constructor Details
-
PemPropertyFormatHeaplet
public PemPropertyFormatHeaplet()
-
-
Method Details
-
create
Description copied from class:GenericHeaplet
Called to request the heaplet create an object. Called byHeaplet.create(Name, JsonValue, Heap)
after initializing the protected field members. Implementations should parse configuration but not acquire resources, start threads, or log any initialization messages. These tasks should be performed by theGenericHeaplet.start()
method.- Specified by:
create
in classGenericHeaplet
- Returns:
- The created object.
- Throws:
HeapException
- if an exception occurred during creation of the heap object or any of its dependencies.
-