@@ -15,18 +15,18 @@ _nano_test() {
15
15
--kasEndpoint http://localhost:65432/kas \
16
16
--ignoreAllowList \
17
17
--oidcEndpoint http://localhost:65432/auth/realms/opentdf \
18
- --auth opentdf :secret \
18
+ --auth testclient :secret \
19
19
--output sample.txt.ntdf \
20
- encrypt " ${plain} " \
21
- --attributes https://example.com/attr/attr1/value/value1
20
+ encrypt " ${plain} " # \
21
+ # --attributes https://example.com/attr/attr1/value/value1
22
22
23
23
[ -f sample.txt.ntdf ]
24
24
25
25
npx " $2 " --log-level DEBUG \
26
26
--kasEndpoint http://localhost:65432/kas \
27
27
--ignoreAllowList \
28
28
--oidcEndpoint http://localhost:65432/auth/realms/opentdf \
29
- --auth opentdf :secret \
29
+ --auth testclient :secret \
30
30
--output sample_out.txt \
31
31
decrypt sample.txt.ntdf
32
32
@@ -46,19 +46,19 @@ _tdf3_test() {
46
46
--kasEndpoint http://localhost:65432/kas \
47
47
--ignoreAllowList \
48
48
--oidcEndpoint http://localhost:65432/auth/realms/opentdf \
49
- --auth opentdf :secret \
49
+ --auth testclient :secret \
50
50
--output sample.txt.tdf \
51
51
encrypt " ${plain} " \
52
- --containerType tdf3 \
53
- --attributes https://example.com/attr/attr1/value/value1
52
+ --containerType tdf3 # \
53
+ # --attributes https://example.com/attr/attr1/value/value1
54
54
55
55
[ -f sample.txt.tdf ]
56
56
57
57
npx " $2 " --log-level DEBUG \
58
58
--kasEndpoint http://localhost:65432/kas \
59
59
--ignoreAllowList \
60
60
--oidcEndpoint http://localhost:65432/auth/realms/opentdf \
61
- --auth opentdf :secret \
61
+ --auth testclient :secret \
62
62
--output sample_out.txt \
63
63
--containerType tdf3 \
64
64
decrypt sample.txt.tdf
0 commit comments