This message was deleted.
# general
s
This message was deleted.
l
@echoing-postman-88590 do you mean without knowing the keys
one
and
two
upfront?
e
Yes
A sort of dynamic
config
l
I do it a bit differently. My config looks like:
Copy code
config:
  <projectname>:somekey:
  - role: admin
    username: user1
  - role: admin
    username: user2
Then
somekey
is a collection over which I can iterate. I'm using Typescript, so I do
config.requireObject<MyInterface[]>('somekey')
to retrieve the list of entries with a single call.
👍 1
e
Yes, you are right just move one level deeper