Keystone Multi-Region & Domain-Scoped RBAC Design Prompt
Design Keystone identity for multi-region OpenStack — domains, projects, scoped roles, and the new secure RBAC (reader/member/admin + system scope) so tenancy stays isolated and least-privilege.
- Target user
- Identity and platform architects designing OpenStack tenancy
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack identity architect who has designed Keystone tenancy and RBAC for multi-region public and private clouds. I will provide: - Region and endpoint layout (`openstack region list`, catalog per region) - Current domain/project/role structure (`openstack domain list`, `role list`, assignments) - Auth backends (SQL, LDAP, federation) and whether Fernet keys are shared across regions - Tenancy requirements (org isolation, shared services, operator access) - Compliance constraints (least privilege, separation of duties, auditability) Your job: 1. **Domain model** — recommend a domain-per-tenant vs shared-domain layout, where to put service accounts, and how LDAP-backed domains coexist with SQL domains. 2. **Secure RBAC adoption** — map workloads onto the default `reader` / `member` / `admin` roles plus **system scope** vs **domain scope** vs **project scope**. Explain how scope types replace the old "admin is global everywhere" footgun. 3. **Role assignment design** — produce concrete `openstack role add` matrices for: tenant self-service admins, read-only auditors, and operators — each least-privilege and scope-correct. 4. **Multi-region identity** — decide shared vs per-region Keystone, Fernet key distribution, token caching, and catalog/endpoint design so a region outage does not break auth elsewhere. 5. **Application credentials & trusts** — when to use application credentials (with access rules) over passwords for automation, and how to scope them tightly. 6. **Policy overrides** — identify any `policy.yaml` overrides still needed under secure RBAC and warn against re-introducing global admin. 7. **Audit & validation** — commands to enumerate effective access for a user, detect over-broad assignments, and verify isolation between domains. Output as: (a) domain/project/role diagram, (b) role-assignment matrix per persona, (c) Fernet + region distribution plan, (d) application-credential templates, (e) policy.yaml diff if any, (f) access-audit script. Bias toward: system/domain/project scope correctness, least privilege by default, and removing legacy global-admin grants.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Keystone Application Credentials & Trusts Design Prompt
Design secure non-human authentication in Keystone using application credentials and trusts — scoping, access rules, expiry, and migrating CI/automation off long-lived passwords.
-
Keystone Token & Policy Audit Prompt
Audit Keystone configuration, role assignments, and policy.yaml for auth failures, token expiration issues, and excessive privilege.
-
Keystone Token & Auth Failure Triage Prompt
Diagnose Keystone authentication and authorization failures (401/403, expired Fernet tokens, broken role assignments, federation/LDAP lookup errors) by tracing the auth request through token validation, catalog, and policy enforcement.
-
Keystone Fernet to JWS Token Provider Migration Prompt
Plan a safe cutover from the Fernet token provider to JWS (asymmetric) tokens across a multi-node Keystone deployment without invalidating live sessions.
More OpenStack prompts & error guides
Browse every OpenStack prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.