Closed dmathieu closed 11 years ago
@neilmiddleton: I don't really see the point for string secrets. A lambda one is interesting as it allows having differents secrets depending of the instance. However, the only point I see for strings would be to use an other environment variable.
Fair point with the lambda vs strings - I'm happy with that.
@neilmiddleton: I've just split the secret retrieval into it's own object. I've also (re)refactored the tests to not make them interdependent. If that's fine with you, this can be merged.
Awesome. :thumbsup:
This adds custom secret :
With a static string (no variables can be used here)
With a lambda (object is the current instance of the atribute's object).