SoftInstigate / restheart-security

Authorization and Authentication microservice for RESTHeart
https://restheart.org/docs/security/overview/
Apache License 2.0
8 stars 2 forks source link

support parametric conf file #1

Closed ujibang closed 5 years ago

ujibang commented 5 years ago

Add support of mustache parameters in uiam.yml like RESTHeart supports it in restheart.yml

Expected Behavior

When restheart admin uses mustache parameter in uiamy.yml, mustache is replaced by a value like it's done for restheart.yml (using environment variables for example)

Current Behavior

We could not use mustache parameter

Context

Our organisation prefers starting docker container with environment variable and without configuration file in file system.

Environment

n.a.

Steps to Reproduce

n.a.

Possible Implementation

Use same algorithm as used for restheart.yml

lenalebt commented 5 years ago

Hi together, any ETA yet for this? Currently upgrading to restheart 4.0 (platform/commercial), and this would come in handy.

mkjsix commented 5 years ago

Hi @lenalebt Not yet, it depends on actual demand. However, at the beginning of next week we are having an internal meeting to discuss the roadmap and this feature will be scheduled.

I estimate it would take no more than a couple of days to implement it, we'll let you know a possibile date soon.

lenalebt commented 5 years ago

Okay, thanks. I'll work around in the meantime by implementing an authenticator that can use env vars and injecting that into the Jar.

mkjsix commented 5 years ago

We have updated the roadmap https://restheart.org/docs/roadmap/#restheart-platform-41

Expected Release Date End of September / Early October

mkjsix commented 5 years ago

This has been fixed in release 1.1.0