Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple configurations Hashicorp #141

Merged
merged 9 commits into from
Jul 23, 2024

Conversation

smk4664
Copy link
Contributor

@smk4664 smk4664 commented Jul 19, 2024

Closes #67

This change allows the Hashicorp Vault Secrets Provider to provide the configuration to be used per secret.

hashicorp_multiple_vaults
hashicorp_multiple_vaults

This change allows the Hashicorp Vault Secrets Provider to provide the configuration to be used per secret.
@smk4664 smk4664 requested a review from a team as a code owner July 19, 2024 14:39
nautobot_secrets_providers/providers/hashicorp.py Outdated Show resolved Hide resolved
nautobot_secrets_providers/providers/hashicorp.py Outdated Show resolved Hide resolved
nautobot_secrets_providers/providers/hashicorp.py Outdated Show resolved Hide resolved
nautobot_secrets_providers/providers/hashicorp.py Outdated Show resolved Hide resolved
nautobot_secrets_providers/providers/hashicorp.py Outdated Show resolved Hide resolved
nautobot_secrets_providers/providers/hashicorp.py Outdated Show resolved Hide resolved
nautobot_secrets_providers/providers/hashicorp.py Outdated Show resolved Hide resolved
@gsnider2195
Copy link
Contributor

Would it make sense to make HashiCorpVaultSecretsProvider.ParametersForm a formset now?

Copy link
Contributor

@gsnider2195 gsnider2195 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to make HashiCorpVaultSecretsProvider.ParametersForm a formset now?

@smk4664
Copy link
Contributor Author

smk4664 commented Jul 20, 2024

Would it make sense to make HashiCorpVaultSecretsProvider.ParametersForm a formset now?

It's still only one configuration per secret. You can just support multiple configurations system wide.

smk4664 and others added 3 commits July 20, 2024 14:00
Instead of using "Configuration", I have switch to using "Vault" as that is closer to what is actually being chosen by the user.
@smk4664 smk4664 requested a review from gsnider2195 July 22, 2024 21:11
changes/67.added Outdated Show resolved Hide resolved
docs/admin/providers/hashicorp_setup.md Outdated Show resolved Hide resolved
docs/images/dark/hashicorp_multiple_vaults.png Outdated Show resolved Hide resolved
nautobot_secrets_providers/providers/hashicorp.py Outdated Show resolved Hide resolved
nautobot_secrets_providers/providers/hashicorp.py Outdated Show resolved Hide resolved
nautobot_secrets_providers/providers/hashicorp.py Outdated Show resolved Hide resolved
nautobot_secrets_providers/providers/hashicorp.py Outdated Show resolved Hide resolved
nautobot_secrets_providers/providers/hashicorp.py Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
Copy link
Contributor

@glennmatthews glennmatthews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@smk4664 smk4664 merged commit eea7d2c into develop Jul 23, 2024
16 checks passed
@smk4664 smk4664 deleted the u/smk4664-support-multiple-hashicorp branch July 23, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow multiple configurations of the same provider
3 participants