Skip to content

Commit fb18525

Browse files
authored
fix(core): replace opentdf-public client with cli-client (#2422)
### Proposed Changes * ### Checklist - [ ] I have added or updated unit tests - [ ] I have added or updated integration tests (if appropriate) - [ ] I have added or updated documentation ### Testing Instructions
1 parent 43afd48 commit fb18525

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

examples/cmd/benchmark_decision.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func runDecisionBenchmark(_ *cobra.Command, _ []string) error {
4343
}}},
4444
EntityChains: []*authorization.EntityChain{
4545
{Id: "rewrap-tok", Entities: []*authorization.Entity{
46-
{Id: "jwtentity-0-clientid-opentdf-public", EntityType: &authorization.Entity_ClientId{ClientId: "opentdf-public"}, Category: authorization.Entity_CATEGORY_ENVIRONMENT},
46+
{Id: "jwtentity-0-clientid-cli-client", EntityType: &authorization.Entity_ClientId{ClientId: "cli-client"}, Category: authorization.Entity_CATEGORY_ENVIRONMENT},
4747
{Id: "jwtentity-1-username-sample-user", EntityType: &authorization.Entity_UserName{UserName: "sample-user"}, Category: authorization.Entity_CATEGORY_SUBJECT},
4848
}},
4949
},

examples/cmd/benchmark_decision_v2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func runDecisionBenchmarkV2(_ *cobra.Command, _ []string) error {
5858
Entities: []*entity.Entity{
5959
{
6060
EphemeralId: "jwtentity-0-clientid-opentdf-sdk",
61-
EntityType: &entity.Entity_ClientId{ClientId: "opentdf-public"},
61+
EntityType: &entity.Entity_ClientId{ClientId: "cli-client"},
6262
Category: entity.Entity_CATEGORY_ENVIRONMENT,
6363
},
6464
{

service/cmd/keycloak_data.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,6 @@ realms:
8181
- 'http://localhost:*'
8282
protocolMappers:
8383
- *customAudMapper
84-
- client:
85-
clientID: opentdf-public
86-
enabled: true
87-
name: opentdf-public
88-
serviceAccountsEnabled: false
89-
publicClient: true
90-
redirectUris:
91-
- 'http://localhost:9000/*' # otdfctl CLI tool
92-
protocolMappers:
93-
- *customAudMapper
9484
users:
9585
- username: sample-user
9686
enabled: true

0 commit comments

Comments
 (0)