pulumi/sdk
Paul Stack ae9a6db36e
Add the ability to pulumi.unsecret an existing output (#6086)
Related: #5653

This will take an existing output and then unwrap the secret, and
return a new output

```
import * as pulumi from "@pulumi/pulumi";

const x = pulumi.secret("test")
export const xVal = x;

const y = pulumi.unsecret(x);
export const yVal = y;
```

```
▶ pulumi stack output
Current stack outputs (3):
    OUTPUT         VALUE
    xVal           [secret]
    yVal           test
```

Also adds the ability to check if an output is as secret:

```
import * as pulumi from "@pulumi/pulumi";

const x = pulumi.secret("test")
const isSecret = x.isSecret;

export const isSecretDeets = isSecret;
```
2021-01-14 20:36:52 +00:00
..
dotnet Add .NET resource ref unit tests. (#6104) 2021-01-14 12:24:41 -08:00
go [auto/go] - Set DryRun on RunInfo (#6099) 2021-01-13 13:05:36 -08:00
nodejs Add the ability to pulumi.unsecret an existing output (#6086) 2021-01-14 20:36:52 +00:00
proto Add support for serialized resource references. (#5041) 2020-10-27 10:12:12 -07:00
python Remove annotations import (#6109) 2021-01-14 12:36:11 -08:00
go.mod Add a python shim script to work around https://github.com/golang/go/issues/42919 2020-12-07 14:17:45 -08:00
go.sum Add a python shim script to work around https://github.com/golang/go/issues/42919 2020-12-07 14:17:45 -08:00
README.md Updating .NET references 2020-04-27 12:42:11 -07:00

Pulumi Language SDKs

This directory contains the Pulumi SDKs for all supported languages.

Please see the respective READMEs for information about installing and using these libraries:

The language providers work by implementing gRPC interfaces defined in proto/.