IBM COS SDK for JavaScript V2 - v1.0.0
    Preparing search index...
    OptionalCrtSignerV4: new (
        options: any,
    ) => RequestPresigner & RequestSigner & {
        signWithCredentials(
            requestToSign: HttpRequest,
            credentials: AwsCredentialIdentity,
            options: RequestSigningArguments,
        ): Promise<HttpRequest>;
    }

    Type Declaration

      • new (
            options: any,
        ): RequestPresigner & RequestSigner & {
            signWithCredentials(
                requestToSign: HttpRequest,
                credentials: AwsCredentialIdentity,
                options: RequestSigningArguments,
            ): Promise<HttpRequest>;
        }
      • This constructor is not typed so as not to require a type import from the signature-v4-crt package.

        The true type is CrtSignerV4 from @ibm-cos/signature-v4-crt.

        Parameters

        • options: any

        Returns RequestPresigner & RequestSigner & {
            signWithCredentials(
                requestToSign: HttpRequest,
                credentials: AwsCredentialIdentity,
                options: RequestSigningArguments,
            ): Promise<HttpRequest>;
        }