nautobot / nautobot-app-ssot

Single Source of Truth for Nautobot
https://docs.nautobot.com/projects/ssot/en/latest/
Other
37 stars 39 forks source link

Manage CVP token from the GUI #208

Open nsicard514 opened 1 year ago

nsicard514 commented 1 year ago

Environment

Proposed Functionality

I would like to manage the CVP token from a GUI without restarting nautobot.

Use Case

Currently when I want to change the CVP token , I need to change it in the .env variables and restart nautobot. I would to know if you have plan to change it or if you can add it in the next release ?

Thanks

chadell commented 1 year ago

We are considering adding a model for URL endpoints (with reference to secrets) that would make it easy to implement cc @jdrew82 @smk4664

chadell commented 1 year ago

More info: https://github.com/nautobot/nautobot/issues/1835

erjac77 commented 1 year ago

Would it be possible to use a "secret group" instead of environment variables?

jdrew82 commented 1 year ago

Would it be possible to use a "secret group" instead of environment variables?

That is how we'd manage it through the GUI, yes. The intention is to add a Controller object in the Nautobot core project that would house the information for connecting to an instance and the credentials for it. Those credentials would be stored in a SecretsGroup most likely.

erjac77 commented 1 year ago

Great! But in the meantime, would it be possible to do something similar to what was done for Git Repositories?

jdrew82 commented 1 year ago

This would most likely make the most sense to be done through the Job for this particular integration as we don't have the capability to do this through the Dashboard at this time. Should be simple enough feature to add. We do accept PRs but it's not a priority at this time due to the aforementioned change coming in the near future.

chadell commented 1 year ago

it's here: https://github.com/nautobot/nautobot/pull/4740