Identity & Access Management (IAM)
Okustera IAM provides enterprise-grade multi-tenancy, fine-grained Role-Based Access Control (RBAC), scoped API credentials, and Kubernetes Workload Identity across all cloud services.

Architectural Principles
- Multi-Project Isolation: Every customer environment operates within an isolated tenant project boundary. Identities in one tenant cannot list, query, or mutate resources belonging to another.
- Granular RBAC: Enforce least-privilege access with built-in project roles (
admin,member,reader) and endpoint-level custom IAM policies. - Workload Identity (Pod IAM): Eliminate long-lived static secrets in Kubernetes by allowing pods to exchange short-lived projected ServiceAccount JWT tokens for scoped, temporary Okustera credentials.
Workload Authentication Modes
Okustera supports two authentication models for programmatic workloads, selectable per project based on your operational and compliance posture:
| Authentication Mode | Credential Type | Best Suited For |
|---|---|---|
| Standard Mode (Default) | Scoped Personal Access Tokens (PATs), Project Application Credentials, and S3 Access Keys | Rapid development, external CI/CD runners, and low-overhead service integrations |
| Enforced Workload Identity (Optional) | Short-lived projected Kubernetes ServiceAccount JWTs exchanged via STS | Zero-trust regulated environments requiring zero static credentials and per-pod least-privilege audit trails |
Managing Workload Authentication via Terraform
Configure workload IAM roles, endpoint policies, and Kubernetes pod identity bindings declaratively using the official Okustera Terraform provider:
1. Scoped IAM Role & Endpoint Policies
# 1. Define a least-privilege IAM Role
resource "okustera_iam_role" "storage_operator_role" {
name = "storage-operator-role"
description = "Grants read/write access to object storage while denying billing endpoints"
policy_statement {
effect = "Allow"
paths = ["/api/v1/storage/*"]
methods = ["GET", "POST"]
}
policy_statement {
effect = "Deny"
paths = ["/api/v1/billing/*"]
methods = ["*"]
}
}
# 2. Provision Object Storage Bucket
resource "okustera_s3_bucket" "data_lake" {
name = "tenant-data-lake"
quota_gb = 100
}
2. Binding Kubernetes Workloads (Pod Identity)
Bind a Kubernetes ServiceAccount directly to an Okustera IAM role so pods receive automatic, short-lived credentials without mounting static API keys:
resource "okustera_pod_identity_binding" "storage_operator_binding" {
name = "storage-operator-binding"
namespace = "production"
service_account_name = "storage-operator-sa"
role_id = okustera_iam_role.storage_operator_role.id
}
Managing Users & Roles in the Cloud Portal
The Okustera Cloud Portal (/iam) provides self-service identity governance for tenant administrators:
1. Team Role Hierarchy
Each tenant project supports structured Role-Based Access Control (RBAC):
| Role | Permissions & Scope | Typical Assignment |
|---|---|---|
admin | Full read, write, update, delete, user governance, and billing management across all project resources. | Team Leads, Cloud Architects |
member | Full operational control to launch VMs, deploy functions, provision databases, and manage storage. Cannot modify project billing or manage team membership. | Software Engineers, Data Scientists |
reader | Read-only visibility across dashboards, running instances, configurations, and logs. Cannot create or modify resources. | Security Auditors, Contractors, Reviewers |
2. Interactive IAM Policy Simulator
Before deploying automated CI/CD pipelines or microservices, validate their effective permission boundaries using the IAM Policy Simulator:
- In the Cloud Portal, navigate to IAM → Policy Simulator (
/iam). - Select the target identity: a project role (e.g.,
member) or a Workload Identity role. - Choose an API endpoint path (e.g.,
/api/v1/storage/volumes) and HTTP method (POST). - Click Simulate Access.
- The policy engine evaluates the request against active RBAC and Workload Identity policies, returning:
- Verdict:
ALLOWEDorDENIED. - Matching Rule: Explains which policy statement granted or denied access.
- Verdict:
REST API Reference
GET /api/v1/identity/users— List users in the current project.POST /api/v1/identity/users— Create a user account with initial credentials.GET /api/v1/identity/roles— List available IAM roles (admin,member,reader, and custom roles).POST /api/v1/identity/role-assignments— Assign a role to a user within a project.DELETE /api/v1/identity/role-assignments— Revoke a user's role assignment.POST /api/v1/iam/simulate— Evaluate whether an identity has permission to invoke a target endpoint.POST /api/v1/iam/sts/assume-role— Exchange a workload identity token for short-lived scoped credentials.