message: Use key file only in the global space
diff: * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
  */
  -import { ConfigFile } from './configFile';
  +import { ConfigFile, ConfigOptions } from './configFile';
  import { isNil as _isNil } from 'lodash';
  import { SfdxUtil } from '../util';
  import { dirname as pathDirname } from 'path';
  @@ -19,6 +19,13 @@ export class KeychainConfig extends ConfigFile {
  return 'key.json';
  }
  + public static getDefaultOptions(isGlobal = true, filename) {
  + const config = super.getDefaultOptions(isGlobal);
  + // The key file is ALWAYS in the global space.
  + config.isGlobal = true;
  + return config;
  + }
  +
  /**
  * Write the config file with new contents. If no new contents are passed in
  * it will write this.contents that was set from read().
  