Azure / azure-cli

Azure Command-Line Interface
MIT License
3.98k stars 2.96k forks source link

`az mysql flexible-server restore` and `az mysql flexible-server geo-restore` should allow to specify identity and encryption key #30006

Open kamilzzz opened 2 hours ago

kamilzzz commented 2 hours ago

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.

yonzhan commented 2 hours ago

Thank you for opening this issue, we will look into it.