Add dagger.#Secret to dagger spec.

This currently does nothing and is only useful for flagging secrets.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-03-10 11:13:12 -08:00
parent ef1bb4b873
commit db2184262c
3 changed files with 10 additions and 3 deletions

View File

@@ -1,10 +1,12 @@
package aws
import "dagger.io/dagger"
#Config: {
// AWS region
region: string
// AWS access key
accessKey: string // FIXME: should be a secret
accessKey: dagger.#Secret
// AWS secret key
secretKey: string // FIXME: should be a secret
secretKey: dagger.#Secret
}