diff options
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/encrypt/.awwan.env.plain | 2 | ||||
| -rw-r--r-- | testdata/encrypt/.awwan.env.vault | bin | 0 -> 384 bytes | |||
| l--------- | testdata/encrypt/.awwan.key | 1 | ||||
| -rw-r--r-- | testdata/encrypt/.ssh/empty | 0 | ||||
| -rw-r--r-- | testdata/encrypt/local.aww | 1 | ||||
| -rw-r--r-- | testdata/encrypt/sub/.awwan.env.plain | 2 | ||||
| -rw-r--r-- | testdata/encrypt/sub/.awwan.env.vault | bin | 0 -> 384 bytes | |||
| -rw-r--r-- | testdata/encrypt/sub/local.aww | 1 | ||||
| -rw-r--r-- | testdata/encrypt/test.data | 9 |
9 files changed, 16 insertions, 0 deletions
diff --git a/testdata/encrypt/.awwan.env.plain b/testdata/encrypt/.awwan.env.plain new file mode 100644 index 0000000..26ed285 --- /dev/null +++ b/testdata/encrypt/.awwan.env.plain @@ -0,0 +1,2 @@ +[secret] +pass = this_is_a_secret diff --git a/testdata/encrypt/.awwan.env.vault b/testdata/encrypt/.awwan.env.vault Binary files differnew file mode 100644 index 0000000..a4e4bdd --- /dev/null +++ b/testdata/encrypt/.awwan.env.vault diff --git a/testdata/encrypt/.awwan.key b/testdata/encrypt/.awwan.key new file mode 120000 index 0000000..aa99eff --- /dev/null +++ b/testdata/encrypt/.awwan.key @@ -0,0 +1 @@ +../encrypt-with-passphrase/.awwan.key
\ No newline at end of file diff --git a/testdata/encrypt/.ssh/empty b/testdata/encrypt/.ssh/empty new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/testdata/encrypt/.ssh/empty diff --git a/testdata/encrypt/local.aww b/testdata/encrypt/local.aww new file mode 100644 index 0000000..d9127db --- /dev/null +++ b/testdata/encrypt/local.aww @@ -0,0 +1 @@ +echo {{.Val "secret::pass"}} diff --git a/testdata/encrypt/sub/.awwan.env.plain b/testdata/encrypt/sub/.awwan.env.plain new file mode 100644 index 0000000..02b2ae0 --- /dev/null +++ b/testdata/encrypt/sub/.awwan.env.plain @@ -0,0 +1,2 @@ +[secret] +pass = this_is_a_secret_in_sub diff --git a/testdata/encrypt/sub/.awwan.env.vault b/testdata/encrypt/sub/.awwan.env.vault Binary files differnew file mode 100644 index 0000000..21aa5b1 --- /dev/null +++ b/testdata/encrypt/sub/.awwan.env.vault diff --git a/testdata/encrypt/sub/local.aww b/testdata/encrypt/sub/local.aww new file mode 100644 index 0000000..d9127db --- /dev/null +++ b/testdata/encrypt/sub/local.aww @@ -0,0 +1 @@ +echo {{.Val "secret::pass"}} diff --git a/testdata/encrypt/test.data b/testdata/encrypt/test.data new file mode 100644 index 0000000..9ecdb9f --- /dev/null +++ b/testdata/encrypt/test.data @@ -0,0 +1,9 @@ +<<< local.aww:1 + +--> local: 1: echo this_is_a_secret +this_is_a_secret + +<<< sub/local.aww:1 + +--> local: 1: echo this_is_a_secret_in_sub +this_is_a_secret_in_sub |
