terraform/website/source/docs
James Nugent b62f6af158 core: Add support for marking outputs as sensitive (#6559)
* core: Add support for marking outputs as sensitive

This commit allows an output to be marked "sensitive", in which case the
value is redacted in the post-refresh and post-apply list of outputs.

For example, the configuration:

```
variable "input" {
    default = "Hello world"
}

output "notsensitive" {
    value = "${var.input}"
}

output "sensitive" {
    sensitive = true
    value = "${var.input}"
}
```

Would result in the output:

```
terraform apply

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

  notsensitive = Hello world
  sensitive    = <sensitive>
```

The `terraform output` command continues to display the value as before.

Limitations: Note that sensitivity is not tracked internally, so if the
output is interpolated in another module into a resource, the value will
be displayed. The value is still present in the state.
2016-05-09 15:46:07 -04:00
..
commands command/fmt: Improve documentation for -diff and defaults (#6398) 2016-04-29 00:39:53 +01:00
configuration core: Add support for marking outputs as sensitive (#6559) 2016-05-09 15:46:07 -04:00
internals docs: Add a section to Debugging docs about crash logs 2016-03-18 18:10:26 -05:00
modules
plugins
providers Add support for the Base URL endpoint so the GitHub provider can support GitHub Enterprise (#6434) 2016-05-09 19:22:53 +01:00
provisioners Fixed typos in remote.html.markdown and connection.html.markdown. (#6195) 2016-04-15 23:05:49 +01:00
state Support standard AWS config in the S3 remote backend. (#5270) 2016-05-06 17:52:18 +01:00
index.html.markdown