sparse-intern-71089
08/18/2021, 6:28 PMgreat-sunset-355
08/19/2021, 7:26 AMget_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
db:
username: <val>
password: <secure>
cfg = pulumi.Config('db')busy-house-95123
08/19/2021, 8:57 AM