ucx
ucx copied to clipboard
[FEATURE]: Create spn secret if it does not exist
Is there an existing issue for this?
- [X] I have searched the existing issues
Problem statement
When migrating Azure SPNs to UC storage credentials, SPNs without client secrets are not migrated
Related issues:
- https://github.com/databrickslabs/ucx/issues/875
- https://github.com/databrickslabs/ucx/issues/339
- https://github.com/databrickslabs/ucx/pull/874
- https://github.com/databrickslabs/ucx/issues/339
Proposed Solution
Attempt to create a short-lived secret for SPNs without client secrets. Log any that errors
Relevant issue: https://github.com/databrickslabs/ucx/issues/339
Additional Context
No response
@nkvuong shouldn't we just create Managed Identity with access connector instead?
Agree, we should create access connector in this case.
@nfx : I think we can close this issue and resolve it as follows:
Create a small (0.1 pw) new issue to warn users if we find SP without secrets to:
- Rerun SP migration and chose to use access connectors instead
- Add SP secrets in a place where ucx can find them.
See discussion in #1770