File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,11 +79,12 @@ Then create a new client within the realm:
7979``` bash
8080./kcadm.sh create clients -r spiffe -f - << EOF
8181{
82- "clientId": "spiffe://example.org/ myclient",
82+ "clientId": "myclient",
8383 "serviceAccountsEnabled": true,
8484 "clientAuthenticatorType": "federated-jwt",
8585 "attributes": {
86- "jwt.credential.issuer": "spiffe"
86+ "jwt.credential.issuer": "spiffe",
87+ "jwt.credential.sub": "spiffe://example.org/myclient",
8788 }
8889}
8990EOF
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ Optionally create a new realm:
5151 "providerId": "spiffe",
5252 "hideOnLogin": true,
5353 "config": {
54- "trustDomain ": "example.org",
54+ "issuer ": "spiffe:// example.org",
5555 "bundleEndpoint": "https://localhost:8543"
5656 }
5757}
@@ -62,11 +62,12 @@ Then create a new client within the realm:
6262``` bash
6363./kcadm.sh create clients -r spiffe -f - << EOF
6464{
65- "clientId": "spiffe://example.org/ myclient",
65+ "clientId": "myclient",
6666 "serviceAccountsEnabled": true,
6767 "clientAuthenticatorType": "federated-jwt",
6868 "attributes": {
6969 "jwt.credential.issuer": "spiffe"
70+ "jwt.credential.sub": "spiffe://example.org/myclient"
7071 }
7172}
7273EOF
You can’t perform that action at this time.
0 commit comments