-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
While we are trying to deploy Key Vault values in yaml files, its not supporting yaml formart. "Support settings with JSON content type" for AppConfig and I suspect this is what is impacting me.
Related command
az appconfig kv import
Errors
Failed to import 'yaml' file format with 'application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8' content type. Please provide JSON file format to match your content type.
Issue script & Debug output
Same error with Debug command as well
cli.azure.cli.core.azclierror: Failed to import 'yaml' file format with 'application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8' content type. Please provide JSON file format to match your content type.
az_command_data_logger:Failed to import 'yaml' file format with 'application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8' content type. Please provide JSON file format to match your content type.
Expected behavior
AppConfig Key Vault data deployment should be successfully to Azure dashboard with yaml format.
Environment Summary
{
"azure-cli": "2.65.0",
"azure-cli-core": "2.65.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"ssh": "1.1.3"
}
Additional context
No response