-
Notifications
You must be signed in to change notification settings - Fork 2k
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
feat: Using global private environment to save secrets[INS-4715] #8233
Open
cwangsmv
wants to merge
41
commits into
develop
Choose a base branch
from
feat/vault-environment
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 35 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
7c0e2af
1.add external vault context menu
cwangsmv f1973d2
1.Add cloud credential model
cwangsmv cc38d40
1.fix main process integration issue
cwangsmv 10099be
1.adjust layout for upgrade notice
cwangsmv c7b970f
1.add logic to handle vault secret items(vault environment)
cwangsmv 361c185
1.add modal to confirm export private environment when user exports g…
cwangsmv 4092d5d
1.fix aws secret manager tag
cwangsmv 50dff22
1.use hook to get plan detail
cwangsmv 0b55a50
1.remove unnecessary style color
cwangsmv 3ba47b6
1.fix lint issue
cwangsmv 8c86fbf
1.save work
cwangsmv 0e3c02c
1.ui changes
cwangsmv 85adcd2
1.add logic to handle vault key reset and input request
cwangsmv 6a6678d
1.add encrypt/decrypt and remove secret function
cwangsmv ac1f9be
1.move removeAllSecrets function to modal
cwangsmv c00a4c0
1.basic integration with srp api
cwangsmv 8d23a7b
1.add new utils function
cwangsmv 096cd4a
1.add modal for secrets environment variable without vault key hint
cwangsmv 7415db5
1.integration with sse event of reset vault key
cwangsmv 23c6c22
1.support create vault key conflict condition
cwangsmv 5cccad7
1.integrate with sse event change
cwangsmv 4feb20d
1.fix some minor issues
cwangsmv fbf45a9
1.fix error handling
cwangsmv 941df45
remove aws secret key related changes
cwangsmv bc61a6e
1.remove aws related code
cwangsmv 73cbc5c
1.remove useless codes
cwangsmv d61ad11
1.add enableVaultInScripts settings to allow using vault in script
cwangsmv 3c77c78
1.add error handle for get vault salt from server
cwangsmv 10d138a
1.Add insomnia.vault to insomnia script
cwangsmv 3f66590
1.fix log issue
cwangsmv 7e6253d
1.Hide vault key panel when user is not logged in
cwangsmv ce370ce
1.remove keytar and use electron safestorage instead
cwangsmv 0020b01
Do not allow set method in vault script
cwangsmv 4a6e7af
1.rename local vault key file for cross-os support
cwangsmv 5ccad31
unify vault secret key
cwangsmv dd8e7c2
1.fix issue from comment
cwangsmv fe13c86
1.add support for legacy environment with vault as environment key
cwangsmv 6b5f3f2
1.fix issue
cwangsmv 8956138
1.avoid duplicate rendering
cwangsmv daea7ce
1.fix naming
cwangsmv 14c2e92
1.fix issues from comment
cwangsmv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may not support this?
Another irrelevant minor observation is, when
environment.set
is called in script, open the environment modal, it will not be shown in the key-value mode until switching to the json mode and back.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, do not allow set method in vault script.
For the second issue found, I've created a ticket to fix the bug.