`az mysql flexible-server restore` and `az mysql flexible-server geo-restore` should allow to specify identity and encryption key
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
`az mysql flexible-server restore`
`az mysql flexible-server geo-restore`
**Is your feature request related to a problem? Please describe.**
Currently Azure CLI doesn't allow to specify identity and key used for CMK data encryption for target server when performing PITR restore or geo-restore. Source server settings are copied to restore request.
Resource Provider allows to specify different identity and encryption key than these configured on source server. Azure Portal also allows to use different values.
**Describe the solution you'd like**
`az mysql flexible-server restore` and `az mysql flexible-server geo-restore` should support `--key` and `--identity` parameters.
Contributor guide
Assessment
This issue has not been assessed yet.