GithubHelp home page GithubHelp logo

Comments (4)

kingfetty avatar kingfetty commented on July 22, 2024 1

Azure Key Vault supports storing 3 types of data, Certificates, Keys, and Secrets. Of the 3, only secret storage supports accessing the secret value in a way that is useful. For this reason all use cases would be to access secret storage. Secrets must be stored using a name following DNS host naming rules [a-zA-Z0-9-]

As for authentication, AKV has it's own permissions system and only supports OAUTH2 methods for authentication. Users of the setup would need to create a service principal within Azure to represent the Nautobot service and grant the appropriate permissions to this principal. Microsoft provides python libraries for both the authentication (Azure Identity Module) and the keyvault access

Below are example link to using the python libraries:

https://docs.microsoft.com/en-us/azure/developer/python/azure-sdk-authenticate-service-principals
https://docs.microsoft.com/en-us/azure/key-vault/secrets/quick-create-python

Creating service principal for keyvault access of application
https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal

from nautobot-app-secrets-providers.

jathanism avatar jathanism commented on July 22, 2024

Thanks for the submission!

If you wouldn't mind providing some more background details on the most common types of secrets you would need? This appears to be a robust solution and we likely wouldn't be able to implement full support for everything out the gate.

The big starting points from my perspective would be:

  • Object type: Secrets?
  • Authentication method

Any background you can share will help us to scope and prioritize implementing this in the future! Thanks in advance!

from nautobot-app-secrets-providers.

jathanism avatar jathanism commented on July 22, 2024

Azure Key Vault supports storing 3 types of data, Certificates, Keys, and Secrets. Of the 3, only secret storage supports accessing the secret value in a way that is useful. For this reason all use cases would be to access secret storage. Secrets must be stored using a name following DNS host naming rules [a-zA-Z0-9-]

As for authentication, AKV has it's own permissions system and only supports OAUTH2 methods for authentication. Users of the setup would need to create a service principal within Azure to represent the Nautobot service and grant the appropriate permissions to this principal. Microsoft provides python libraries for both the authentication (Azure Identity Module) and the keyvault access

Below are example link to using the python libraries:

https://docs.microsoft.com/en-us/azure/developer/python/azure-sdk-authenticate-service-principals https://docs.microsoft.com/en-us/azure/key-vault/secrets/quick-create-python

Creating service principal for keyvault access of application https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal

THANK YOU for this background. This helps a lot!

from nautobot-app-secrets-providers.

JonathanNathanson avatar JonathanNathanson commented on July 22, 2024

This would be a fantastic addition - I would be happy to help test as and when.

from nautobot-app-secrets-providers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.