Package dev.gmitch215.bytebox.binding
Interface SecretsStore
- All Superinterfaces:
org.teavm.jso.JSObject
public interface SecretsStore
extends org.teavm.jso.JSObject
One secret from a Secrets Store. Declared with
secrets(), named SECRETS by
default.
Unlike a plain secret, which is a string on env readable at module scope, this is
fetched. So it blocks, and it cannot be read during module evaluation.
- Since:
- 1.0.0
-
Method Summary
Methods inherited from interface org.teavm.jso.JSObject
cast
-
Method Details
-
value
Returns the secret's value.- Returns:
- the secret's value
-
read
org.teavm.jso.core.JSPromise<org.teavm.jso.core.JSString> read()
-