This message was deleted.
# getting-started
s
This message was deleted.
g
you can use
get_secret_object
but In general, I'd strongly advise against nested structures in config. It is pretty difficult to work with the nested outputs. Instead, you can use a specific namespace from your example I guess you are trying to make a pair
<username>:<password>
? I just flattened it to
db_user
and
db_password
but you can also use separate namespace
Copy code
db:
  username: <val>
  password: <secure>
Copy code
cfg = pulumi.Config('db')
b
oh yes, the top-most key is the namespace, right. yeah this could work, thank you