i am developing a bot with V4 Enterprise template as bot is working fine now but i want to change subscription Key in .bot file due to .bot file is encrypted im not able to change how can i encrypt just subscription key in .bot file again.
Ref Manage bots using CLI tools to install a utility
npm install -g msbot
Ref Microsoft/botbuilder-tools use the msbot utility to decrypt
msbot secret -b my.bot --secret OLDSECRET --clear
Then if required, encrypt the file, this will generate new secret, so you will also have to change secrets in configuration files and/or Azure settings.
msbot secret -b my.bot -n