> ## Documentation Index
> Fetch the complete documentation index at: https://www.integrate.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ETL: SHA256WithRSA

> Sign an input string with an RSA private key using SHA256withRSA. Use for JWT authentication and secure API integrations in ETL data pipelines.

## Description

Sign an input string with an RSA private key using the SHA256withRSA signature algorithm. Useful with JWT authentication.

## Syntax

`SHA256WithRSA(input_string, key)`

## Arguments

*input\_string* (string) - The string to sign.

*key*  - a Base 64 encoded PKCS8 key string.

## Examples

`SHA256WithRSA('my string', '-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----')`

## Return value datatype

binary

## Impact of null value

If the input\_string is null, null is returned. If the key is null ,an error is thrown.
