Class SystemAndEnvSecretStore
- java.lang.Object
-
- org.openidentityplatform.openig.secrets.SystemAndEnvSecretStore
-
public class SystemAndEnvSecretStore extends Object
Secret store that retrieves secrets from environment variables and system properties. Environment variables are checked first, with system properties as fallback.{ "type": "SystemAndEnvSecretStore", "config": { "format": "PLAIN" } }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSystemAndEnvSecretStore.Formatstatic classSystemAndEnvSecretStore.Heaplet
-
Constructor Summary
Constructors Constructor Description SystemAndEnvSecretStore(SystemAndEnvSecretStore.Format format)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getSecret(String id)static byte[]getSecretFromHeap(Heap heap, String id)
-
-
-
Constructor Detail
-
SystemAndEnvSecretStore
public SystemAndEnvSecretStore(SystemAndEnvSecretStore.Format format)
-
-
Method Detail
-
getSecret
public byte[] getSecret(String id)
-
getSecretFromHeap
public static byte[] getSecretFromHeap(Heap heap, String id) throws HeapException
- Throws:
HeapException
-
-