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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.forgerock.openig.heap.GenericHeapletcreate, destroy, endpointRegistry, evaluatedWithHeapProperties, expression, getConfig, getHeap, getType, initialBindings, meterRegistryHolder, start
- 
Field Details- 
NAMEPublic name used by resolver.- See Also:
 
 
- 
- 
Constructor Details- 
PemPropertyFormatHeapletpublic PemPropertyFormatHeaplet()
 
- 
- 
Method Details- 
createDescription copied from class:GenericHeapletCalled 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:
- createin class- GenericHeaplet
- Returns:
- The created object.
- Throws:
- HeapException- if an exception occurred during creation of the heap object or any of its dependencies.
 
 
-