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

Remove support for secrets managers #2163

Merged
merged 7 commits into from
Dec 19, 2023
Merged

Conversation

stefannica
Copy link
Contributor

@stefannica stefannica commented Dec 18, 2023

Describe changes

This PR finally removes support for secrets managers as stack components. It also removes the secret schema registry, which is no longer useful and converts secrets schema classes into run-of-the-mill unpretentious Pydantic models.

Breaking change

The Secrets Manager stack component type has been deprecated some time ago in favor of the centralized Secrets Store. In this release, we're finally removing the Secrets Manager component type from the ZenML code base.

You can learn more about centralized secret management in our documentation: https://docs.zenml.io/user-guide/advanced-guide/secret-management .

IMPORTANT: Upon upgrading, all Secrets Manager stack components will be removed from the Stacks that still contain them and from the database. This also implies that access to any remaining secrets managed through Secrets Manager stack components will be lost. If you still have secrets configured and managed through Secrets Manager stack components, please consider migrating all your existing secrets to the centralized secrets store before upgrading by means of the zenml secrets-manager secret migrate CLI command. Also see the zenml secret --help command for more information.

Pre-requisites

Please ensure you have done the following:

  • I have read the CONTRIBUTING.md document.
  • If my change requires a change to docs, I have updated the documentation accordingly.
  • If I have added an integration, I have updated the integrations table and the corresponding website section.
  • I have added tests to cover my changes.
  • I have based my new branch on develop and the open PR is targeting develop. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Other (add details above)

@github-actions github-actions bot added internal To filter out internal PRs and issues enhancement New feature or request labels Dec 18, 2023
Copy link
Contributor

E2E template updates in examples/e2e have been pushed.

Copy link
Contributor

E2E template updates in examples/e2e have been pushed.

Copy link
Contributor

@strickvl strickvl left a comment

Choose a reason for hiding this comment

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

LGTM! Some final checks to be done in other ZenML sister repos + the removal from mlstacks, but that should be fairly easy to implement.

@stefannica stefannica merged commit 9777487 into develop Dec 19, 2023
29 of 32 checks passed
@stefannica stefannica deleted the feature/remove-secrets-manages branch December 19, 2023 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change enhancement New feature or request internal To filter out internal PRs and issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants