You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Create a role with a Federated trust policy. `Principal.Federated` must match the LDAP URI in `ldap_config` (scheme is stripped when matching). Optional `Condition` blocks restrict by LDAP attributes such as `ou` or `memberOf`:
206
+
2. Create a role with a Federated trust policy. `Principal.Federated` must be arn:aws:iam:::ldap-provider/<host>[:port]; host:port must match ldap_config.uri after :// (scheme is stripped when matching). Optional `Condition` blocks restrict by LDAP attributes such as `ou` or `memberOf`:
|`NO_SUCH_ROLE`| IAM role exists under the owner account (`CreateRole`); ARN owner id + role name match. For legacy: account has `role_config` and `role_name` matches. |
The `Federated` value must match the LDAP server URI in`/etc/noobaa-server/ldap_config`. Matching strips the `ldap://` / `ldaps://` prefix.
351
+
The `Federated` value must be arn:aws:iam:::ldap-provider/<host>[:port] and host:port must match the LDAP server URI in`/etc/noobaa-server/ldap_config`. Matching strips the `ldap://` / `ldaps://` prefix.
352
352
353
353
##### LDAP group / attribute conditions
354
354
@@ -366,7 +366,7 @@ Condition keys use the `ldap:<attribute>` format. NooBaa strips the `ldap:` pref
1. Implement all role CRUD methods in `src/sdk/accountspace_fs.js` and `config_fs.js`
602
-
2. Add support for `Principal.Federated` in trust-policy evaluation (`_is_principal_fit()` / access policy utils) — LDAP URI match and OIDC/`iss` match
602
+
2. Add support for `Principal.Federated` in trust-policy evaluation (`_is_principal_fit()` / access policy utils) — LDAP ARN match and OIDC/`iss` match
603
603
3. Load `assume_role_policy_document` from role entity via `config_fs` / **role cache** (same pattern as account cache)
604
604
4. Implement LDAP and Keycloak condition evaluation for trust policy (`_is_identity_condition_fit`) — including `ldap:ou` / `ldap:memberOf`
605
605
5. Schema changes for roles (`name`, `owner`, `assume_role_policy_document`, …)
0 commit comments