> For the complete documentation index, see [llms.txt](/llms.txt).

# Get Secp256k1 private key

Using the `privKey()` method in the web3auth instance you can get the `secp256k1` private key.

## Method[​](#method "Direct link to Method")

`get privKey(): string;`

## Usage[​](#usage "Direct link to Usage")

```
const privateKey = web3auth.privKey()

```

## Response[​](#response "Direct link to Response")

```
"0ajjsdsd...."

```
