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

[FEATURE]: Create/Amend mapping between storage prefixes and cloud principals #910

Closed
1 of 5 tasks
Tracked by #333
FastLee opened this issue Feb 7, 2024 · 5 comments · Fixed by #1495
Closed
1 of 5 tasks
Tracked by #333

[FEATURE]: Create/Amend mapping between storage prefixes and cloud principals #910

FastLee opened this issue Feb 7, 2024 · 5 comments · Fixed by #1495
Labels
cloud/aws Issues related to AWS cloud/azure issues related to Azure feat/cli CLI commands migrate/access-control Access Control to things

Comments

@FastLee
Copy link
Contributor

FastLee commented Feb 7, 2024

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:

  1. Create a single principal/role for all prefixes
  2. Create a principal/role based on the existing principals/roles
  3. 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?
@nfx
Copy link
Collaborator

nfx commented Apr 15, 2024

@FastLee create end-to-end user flow for principal creation in both azure and aws. with screenshots.

@nfx
Copy link
Collaborator

nfx commented Apr 15, 2024

would it make sense for you to document this entire flow?

image

@nfx nfx added migrate/access-control Access Control to things and removed credentials labels Apr 22, 2024
@nfx
Copy link
Collaborator

nfx commented Apr 22, 2024

@FastLee when it's going to be done?

@nfx
Copy link
Collaborator

nfx commented Apr 22, 2024

@FastLee this is high-prio :)

@nfx
Copy link
Collaborator

nfx commented May 2, 2024

Closed by #1495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cloud/aws Issues related to AWS cloud/azure issues related to Azure feat/cli CLI commands migrate/access-control Access Control to things
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants