async getCredential()

in src/session_credential.ts [59:68]


  async getCredential(): Promise<CredentialModel> {
    await this.ensureCredential();
    return new CredentialModel({
      accessKeyId: this.sessionCredential.AccessKeyId,
      accessKeySecret: this.sessionCredential.AccessKeySecret,
      securityToken: this.sessionCredential.SecurityToken,
      bearerToken: this.bearerToken,
      type: this.type,
    });
  }