**Use a secret vault** A secret vault should be used to generate and store the new secret. This will ensure the secret's security and prevent any further unexpected disclosure. Depending on the development platform and the leaked secret type, multiple solutions are currently available.