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

Drop secrets from Git #57

Open
5 tasks
poludnev opened this issue May 9, 2023 · 0 comments
Open
5 tasks

Drop secrets from Git #57

poludnev opened this issue May 9, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@poludnev
Copy link
Member

poludnev commented May 9, 2023

To drop secrets from Git as a developer, follow these steps:

  • Identify any secrets or sensitive information that have been committed to your Git repository. This could include things like API keys, passwords, or access tokens.
  • Remove the secrets from the Git repository by using git filter-branch or git rm commands. This will rewrite the repository's history to remove any instances of the secret.
  • Change the storage token before deploying the application to ensure that it is not vulnerable to any potential attacks.
  • Update the deploy manual to include a section on the new storage token. This could include instructions on how to generate a new token, where to store it, and how to use it in the deployment process.
  • Finally, add a brief note in the README.md file to remind other developers to never commit sensitive information to the Git repository. You could include a few lines about best practices for handling secrets, such as using environment variables or secure storage services.

By following these steps, you can help ensure that your application's sensitive information remains protected and secure.

@poludnev poludnev converted this from a draft issue May 9, 2023
@poludnev poludnev added the enhancement New feature or request label May 9, 2023
@anastasiabusygina anastasiabusygina moved this from 📋 Backlog to Ideas in QuantumOracle Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Ideas
Development

No branches or pull requests

2 participants