Skip to content

Commit

Permalink
try with attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethhealy committed Dec 19, 2024
1 parent bebb7b0 commit 1d18890
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/roundtrip/config-demo-idp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ kcadm.sh create clients -r opentdf \
-s enabled=true \
-s standardFlowEnabled=true \
-s serviceAccountsEnabled=true \
-s 'attributes={"superhero_name":"thor","superhero_group":"avengers"}' \
-s 'protocolMappers=[{"name":"aud","protocol":"openid-connect","protocolMapper":"oidc-audience-mapper","consentRequired":false,"config":{"access.token.claim":"true","included.custom.audience":"http://localhost:65432"}}]'

kcadm.sh create users -r opentdf -s username=user1 -s enabled=true -s firstName=Alice -s lastName=User
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/roundtrip/encrypt-decrypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ _nano_test() {
--oidcEndpoint http://localhost:65432/auth/realms/opentdf \
--auth testclient:secret \
--output sample.txt.ntdf \
encrypt "${plain}" #\
# --attributes https://example.com/attr/attr1/value/value1
encrypt "${plain}" \
--attributes https://example.com/attr/attr1/value/value1

[ -f sample.txt.ntdf ]

Expand Down Expand Up @@ -49,8 +49,8 @@ _tdf3_test() {
--auth testclient:secret \
--output sample.txt.tdf \
encrypt "${plain}" \
--containerType tdf3 #\
# --attributes https://example.com/attr/attr1/value/value1
--containerType tdf3 \
--attributes https://example.com/attr/attr1/value/value1

[ -f sample.txt.tdf ]

Expand Down

0 comments on commit 1d18890

Please sign in to comment.