Answers: <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>
  
Answers: CC BY-SA 4.0
Answers: 2023-06-13T15:45:10.123Z
Answers: This was helpful! thanks for sharing!
Answers: Aminovic
Answers: CC BY-SA 4.0
Answers: 2023-02-07T02:20:55.103Z
Answers: 2023-02-07T02:20:55.103Z
Answers: Evan Carroll
Body: <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>
  
Tags: <terraform>
Title: Getting "(sensitive value)" from `terraform state show`, how can I uncensor the value?
UserDisplayName: Evan Carroll
ThreadText: # 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`](https://developer.hashicorp.com/terraform/cli/commands/state/show) on [variables flagged sensitive](https://developer.hashicorp.com/terraform/tutorials/configuration-language/sensitive-variables) 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](https://github.com/hashicorp/terraform/issues/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!  
  
  ---
  
  