mirror of https://github.com/pulumi/pulumi.git
60 lines
1.5 KiB
JSON
60 lines
1.5 KiB
JSON
{
|
|
"name": "mypkg",
|
|
"version": "0.0.1",
|
|
"functions": {
|
|
"mypkg::funcWithSecrets": {
|
|
"inputs": {
|
|
"properties": {
|
|
"cryptoKey": {
|
|
"type": "string"
|
|
},
|
|
"plaintext": {
|
|
"type": "string",
|
|
"secret": true
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"cryptoKey",
|
|
"plaintext"
|
|
]
|
|
},
|
|
"outputs": {
|
|
"properties": {
|
|
"ciphertext": {
|
|
"type": "string"
|
|
},
|
|
"cryptoKey": {
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"plaintext": {
|
|
"type": "string",
|
|
"secret": true
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"ciphertext",
|
|
"cryptoKey",
|
|
"plaintext",
|
|
"id"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"language": {
|
|
"nodejs": {
|
|
"devDependencies": {
|
|
"@types/node": "ts4.3"
|
|
}
|
|
},
|
|
"go": {
|
|
"importBasePath": "functions-secrets/mypkg"
|
|
},
|
|
"python": {}
|
|
}
|
|
}
|