- Add a new builtin function, secret, that marks its input value as secret - Add support for this function to the various code generators Fixes #4924.
14 lines
262 B
C#
14 lines
262 B
C#
using Pulumi;
|
|
using Aws = Pulumi.Aws;
|
|
|
|
class MyStack : Stack
|
|
{
|
|
public MyStack()
|
|
{
|
|
var dbCluster = new Aws.Rds.Cluster("dbCluster", new Aws.Rds.ClusterArgs
|
|
{
|
|
MasterPassword = Output.CreateSecret("foobar"),
|
|
});
|
|
}
|
|
|
|
}
|