-
Notifications
You must be signed in to change notification settings - Fork 101
[FEATURE]: Create/Amend mapping between storage prefixes and cloud principals #910
Copy link
Copy link
Closed
Labels
cloud/awsIssues related to AWSIssues related to AWScloud/azureissues related to Azureissues related to Azurefeat/cliCLI commandsCLI commandsmigrate/access-controlAccess Control to thingsAccess Control to things
Description
Is there an existing issue for this?
- I have searched the existing issues
Problem statement
In the process of creating storage credentials we have to map storage credentials to intended cloud principals so we can create these principals.
Proposed Solution
The mapping will detect the existing storage credentials and will surface the missing principal/roles that needs to be created for the missing storage credntials.
We should allow the user to select between few options of mapping:
- Create a single principal/role for all prefixes
- Create a principal/role based on the existing principals/roles
- Create a principal/role for each prefix.
The principal can be an AWS Role an Azure SPN or an Azure MI
The process will generate a mapping CSV and upload it to the workspace.
The mapping document will have the following format:
| Principal | Prefix |
|---|---|
| {"role_id":"arn:aws:iam::1234567890:role/DBAdmin"} | s3://container-name/ |
| {"connector_id":"/subscriptions/1234567890/resourceGroups/ucx/providers/Microsoft.Databricks/accessConnectors/ucx-mi"} | abfss://[email protected]/folder_a |
| {"subscription_id":"1234", "directory_id":"5678"} | abfss://[email protected]/folder_b |
Checklist
- do we have the CSV file?
- is it the same name for Azure and AWS?
- Is the name of it visible in docs?
- is there a command to open that file easily?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cloud/awsIssues related to AWSIssues related to AWScloud/azureissues related to Azureissues related to Azurefeat/cliCLI commandsCLI commandsmigrate/access-controlAccess Control to thingsAccess Control to things
Type
Projects
Status
No status