Closed bchilcott closed 1 month ago
you can actually use new sst.Secret("SomeConfig", "myvalue")
- does that work for you?
you can actually use
new sst.Secret("SomeConfig", "myvalue")
- does that work for you?
Ah yes that works - thanks. Feel free to close this but I suppose it would be nice if we could link more complex types? Arrays, etc. Definitely not a priority though, this works perfectly.
Does Secret actually store anything if you set a default value? I'm looking into using this to make D1 HTTP work, but it feels a little hacky. I want to avoid duplicating the value - if Secret doesn't actually store the default, probably fine?
There should be a parameter component, similar to the old SST v2
Parameter
, for linking non-secret configuration instead of having to useenvironment
. Could look something like: