How to edit a .yml file in Shiny

I have a Shiny application which pulls data from various APIs and databases. All the sensitive data pertaining to credentials, usernames, passwords etc. are stored in a config.yml file. The code within the Shiny app calls variables within the config.yml file for connecting to different APIs/databases.

I have also created an administrator login for the Shiny application and want to provide access to the administrator for making changes in the config.yml file. The Shiny app has a separate tab called Admin which opens up when the administrator logs in. How can I open the config.yml file and allow edits by the administrator and save it?

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.