Closed urgent closed 4 years ago
Would you be comfortable with an API like 'archive.getSecretKey()` which returns a promise?
cc @pfrazee since this might be a divergence from Beaker's API.
Sure go ahead
Cool, I might get to it next week, but in the meantime a PR with a unit test would be very much welcome. It could look something like
async getSecretKey() {
await this._loadPromise
return this._archive.secretKey
}
My platform starts up a new container for each build and I keep loosing write permissions.
In the dat-sdk, is it possible to:
I was thinking of something like:
That way, I can set
secretKey
as an env variable, and maintain write permissions between containers.