Skip to content

Commit 484a5a0

Browse files
authored
Add azure-cc-aks to allowed protocols (#368)
* Add `azure-cc-aks` to allowed protocols * Comment out validate url * Provide proper contact and name
1 parent 4f93734 commit 484a5a0

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

src/main/java/com/uid2/admin/vertx/RequestUtil.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ public class RequestUtil {
1818
"aws-nitro",
1919
"gcp-vmid",
2020
"gcp-oidc",
21-
"azure-cc"
21+
"azure-cc",
22+
"azure-cc-aks"
2223
);
2324

2425
public static String getRolesSpec(Set<Role> roles) {

src/main/resources/localstack/s3/core/operators/operators.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,21 @@
128128
"key_hash": "rx3SYxt2PdnIIbhGMc0Cue3/JTk9WwyDiMMOp5WiU6pXbdkhjZ+BxgIChzMMZeLqAi/E4G5XZHMFnOe8Zzx3jg==",
129129
"key_salt": "0L8h9CSPfDFEHurZZ33OOogd26zSjApBTWLmYHtauC8=",
130130
"key_id": "UID2-O-L-127-pDqph"
131+
},
132+
{
133+
"key": "UID2-O-L-124-xLZElr.QQ4UoUtg/1BcAw27O//HRBuxEWXv/nOQc4j6k=",
134+
"key_hash": "nteJZFdETvxwYVD1ahPlATuSYWt3BHtmJqUumLQLXXCD0/rU4WnNpOeLHMVViYPKSpyTBLfYqL7ce6PHZiVPrQ==",
135+
"key_salt": "+iBSy933XDw8X4j/N0ktbr7Mw4NaZvIsMF2Xdy7DQK8=",
136+
"name": "dev-test-aks",
137+
"contact": "dev-test-aks",
138+
"protocol": "azure-cc-aks",
139+
"created": 1738641691,
140+
"disabled": false,
141+
"site_id": 124,
142+
"roles": [
143+
"OPERATOR"
144+
],
145+
"operator_type": "PRIVATE",
146+
"key_id": "UID2-O-L-124-xLZEl"
131147
}
132148
]

src/test/java/com/uid2/admin/vertx/EnclaveIdServiceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void enclave_List_Success(Vertx vertx, VertxTestContext vertxTestContext)
7373
}
7474

7575
@ParameterizedTest
76-
@ValueSource(strings = {"aws-nitro", "azure-cc", "gcp-oidc"})
76+
@ValueSource(strings = {"aws-nitro", "azure-cc", "gcp-oidc", "azure-cc-aks"})
7777
public void enclaveId_Add_Success(String protocol, Vertx vertx, VertxTestContext vertxTestContext) {
7878
fakeAuth(Role.PRIVILEGED);
7979

0 commit comments

Comments
 (0)