-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[Dataprotection] Add support for automatically granting MSI permission #4882
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
Merged
evelyn-ys
merged 45 commits into
Azure:main
from
SamarthMayya:dataprotection_update_msi_permissions
Jul 1, 2022
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
b113c05
Initial commit for updating MSI permissions
SamarthMayya 4a02b49
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
SamarthMayya fb98d3d
Added permission scope for disk
SamarthMayya 1c67cac
Added code style changes
SamarthMayya c51c65d
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
SamarthMayya 34fa75e
Check role assignments at lowest possible scope
SamarthMayya 088c630
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
SamarthMayya 216326b
Initial commit for Blob permissions assignment and argument validation
SamarthMayya 7b14dc2
Added code style changes
SamarthMayya 1679978
Made changes for better UX
SamarthMayya 943003e
Added help text for command
SamarthMayya df07ad2
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
SamarthMayya 5ad7426
Resolve merge conflict
SamarthMayya 3c953a6
Covered positive cases for updating permissions
SamarthMayya 98d6c0a
Used Manifest based approach for generalizing code
SamarthMayya d530665
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
SamarthMayya cac88ed
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
SamarthMayya c78db66
Organized code with helper functions
SamarthMayya c17efa9
Added style changes for pipeline
SamarthMayya b93171d
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
SamarthMayya 21b443c
Added test for AzureDisk
SamarthMayya 86dd156
Deleted existing recording
SamarthMayya effc1ea
Recording for Disk test created
SamarthMayya a013554
Added passing test for AzureDisk
SamarthMayya e7fd756
Added working test for AzureBlob
SamarthMayya 3a66527
Updated API version and corresponding tests
SamarthMayya 2700b97
Added snapshot rg param to initialize command, and validation to ensu…
SamarthMayya d95b039
Added --snapshot-rg param in test
SamarthMayya b7baee2
Fix style errors
SamarthMayya c8564f1
Added validation to ensure secret URI is proper, and added network ac…
SamarthMayya 2305a3c
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
SamarthMayya 84e5c63
Added test for PostgreSQL workload
SamarthMayya 3a82eda
Added code style changes
SamarthMayya b9439b7
Changed version and refactored code to use inbuilt validation for ARM ID
SamarthMayya 8a695eb
Added a wait time of 60 seconds to let the roles propagate
SamarthMayya 4c14365
Minor code restructuring, and modify firewall client context to have …
SamarthMayya 4979d27
Style Change added
SamarthMayya b59065f
Changed general help text
SamarthMayya d7508d5
Added logging for 60 seconds wait time
SamarthMayya 270cd3d
Changed help text and output of command
SamarthMayya 10f72f4
Updated version in version.py and added output customization for keyv…
SamarthMayya 39f172e
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
SamarthMayya ddb4e4d
Added validation to ensure that backup instance is of same datasource…
SamarthMayya dc022a7
Changed error message
SamarthMayya 1dbf8fb
Moved permission object formation into helper code
SamarthMayya 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
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.