<p>Unfortunately you can not. There is already a filed issue on this <a href="https://github.com/hashicorp/terraform/issues/32439" rel="noreferrer">#32439</a>.</p>
<h1>Workaround</h1>
<p>Until that's resolved you'll have to use</p>
<pre><code>terraform show -json | jq QUERY
</code></pre>
<p>And learn how to query with jq to get what you want.</p>

CC BY-SA 4.0
2023-06-13T15:45:10.123Z
This was helpful! thanks for sharing!
Aminovic
CC BY-SA 4.0
2023-02-07T02:20:55.103Z
2023-02-07T02:20:55.103Z
Evan Carroll
<p>When I run I try to use <a href="https://developer.hashicorp.com/terraform/cli/commands/state/show" rel="noreferrer"><code>terraform state show</code></a> on <a href="https://developer.hashicorp.com/terraform/tutorials/configuration-language/sensitive-variables" rel="noreferrer">variables flagged sensitive</a> on some addresses I get</p>
<pre><code>private_data = (sensitive value)
</code></pre>
<p>How can I get around this problem?</p>

<terraform>
Getting "(sensitive value)" from `terraform state show`, how can I uncensor the value?
Evan Carroll
# Getting "(sensitive value)" from `terraform state show`, how can I uncensor the value?

(Asked by: username_0 on 2023-02-07)

When I run I try to use terraform state show on variables flagged sensitive on some addresses I get
private_data = (sensitive value)

How can I get around this problem?

**Tags:** terraform


---

## 1 answers

### Answer by username_0 on 2023-02-07. Score: 9 | Accepted answer

Unfortunately you can not. There is already a filed issue on this #32439.
Workaround
Until that's resolved you'll have to use
terraform show -json | jq QUERY

And learn how to query with jq to get what you want.

> **Comments:**
> **username_1**: This was helpful! thanks for sharing!  

---

