async getRoleName()

in src/ecs_ram_role_credential.ts [80:86]


  async getRoleName(): Promise<string> {
    if (this.roleName && this.roleName.length) {
      return this.roleName;
    }

    return await this.getBody(SECURITY_CRED_URL);
  }