# promptSecret

Description: promptSecret cheatcode documentation

Note: This document was authored using MDX

  Source: https://github.com/NomicFoundation/hardhat-website/tree/main/src/content/docs/docs/reference/cheatcodes/Utilities/prompt-secret.mdx

### Signature

```solidity
function promptSecret(
  string calldata promptText
) external returns (string memory input);
```

### Description

Prompts the user for a hidden string value in the terminal.
