Comments (4)
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.
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.
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.
This would be a fantastic addition - I would be happy to help test as and when.
from nautobot-app-secrets-providers.
Related Issues (20)
- Delinea login error misleading HOT 2
- Nautobot Worker fails to start if SecretValueNotFoundError from AWS HOT 3
- The documentation and README for the nautobot-plugin-secrets-providers do not reflect the newer 2.x version requirements
- Add support for python-tss-sdk version v1.2 HOT 1
- Thycotic/Delinea doesn't support Token secret type choice HOT 1
- `inv build` results in errors
- Add AWS SSM Parameter Store HOT 1
- Plugin `home_view_name` view is out of date HOT 2
- Change Links on Homepage to Reference Delinea
- invoke build --no-cache failed
- Check that secret data is correct HOT 1
- `secret_value` in AWS provider not getting set HOT 2
- Allow multiple configurations of the same provider HOT 3
- Update Secrets Provider `next-2.0` to Use Apps API
- Create `next-2.0` branch for Secrets Provider, Updates to Install on 2.0 Alpha HOT 1
- Prometheus metrics
- 1Password secrets Provider HOT 2
- Hashicorp Vault AWS Authentication broken
- Delinea - Returns HTTP403 for Rate Limited Users/Keys, Need to Add Workaround
- Access Token Authorization Fails Incorrectly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nautobot-app-secrets-providers.