Resource

store

A Secret Store.

resource store;

F get

get: func(key: string) -> result​<option​<secret>, error>;

Tries to look up a Secret by name in this secret store.

If successful, this method returns ok(some(s)) containing the found secret s if the secret is found, or ok(none) if the secret was not found.

F open

open: func(name: string) -> result​<store, open-error>;

Opens the Secret Store with the given name.