lib/plugins/aws/configCredentials/awsConfigCredentials.js/AwsConfigCredentials/getProfileBoundaries
class AwsConfigCredentials:  getProfileBoundaries() {
    // Get the line number of the aws profile definition, defaults to -1
    const start = this.credentials.indexOf(`[${this.options.profile}]`);

    const nextProfile = _.findIndex(this.credentials, line => /\[[^\]]+\]/.test(line), start + 1);
    // Get the line number of the next aws profile definition, defaults to the file lines number
    const end = nextProfile + 1 || this.credentials.length;

    return { start, end };
  }