<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`SecretComponent`](SecretComponent) › [`setValue`](SecretComponent/setValue) ## SecretComponent.setValue() method 1.11.4 **Signature:** ```typescript setValue(value: string): this; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>value</code> | <code>string</code> | | **Returns:** `this`