Skip to main content

Resource Naming (SSRN)

Resources in the SmarterServices IAM system use a standardized naming convention called SmarterServices Resource Name (SSRN). This format is inspired by Amazon Resource Naming (ARN) but tailored for our platform.

SSRN Format

Components

Examples

Basic User Resource

  • Service: SmarterMeasure (sm)
  • Account: 578
  • Resource: User with ID 8539699

Proctoring Session

  • Service: SmarterProctoring (sp)
  • Region: US East 1
  • Account: 578
  • Resource: Session with ID ES123456

Assessment Resource

  • Service: SmarterMeasure (sm)
  • Account: 578
  • Resource: Assessment with ID AS789012

Wildcards

Resources support wildcard patterns for flexible access control:

All Users in Account

Grants access to all users under account 578.

All Resources in Account

Grants access to all resources under account 578.

Service-Wide Access

Grants access to all SmarterProctoring resources across all accounts.

Resource Hierarchy

Resources can have hierarchical structures using forward slashes:

Nested Resources

  • Base Resource: Session ES123456
  • Sub-Resource: Annotation AN789 within that session

Department Structure

  • Department: math
  • Resource: User 8539699 within the math department

Best Practices

1. Use Meaningful Identifiers

2. Consistent Naming Conventions

  • Use lowercase for resource types
  • Use descriptive names for resource categories
  • Include version numbers when applicable

3. Hierarchical Organization

4. Region Considerations

Common Resource Types

SmarterMeasure (sm)

  • user/{id} - User accounts
  • assessment/{id} - Assessments
  • course/{id} - Courses
  • department/{id} - Departments
  • report/{id} - Reports

SmarterProctoring (sp)

  • session/{id} - Proctoring sessions
  • exam/{id} - Exams
  • proctor/{id} - Proctor accounts
  • annotation/{id} - Session annotations
  • recording/{id} - Session recordings

Validation Rules

  1. Required Components: partition, service, account, and resource must be present
  2. Character Restrictions: Use alphanumeric characters, hyphens, and underscores
  3. Case Sensitivity: Resource names are case-sensitive
  4. Length Limits: Maximum 1024 characters per SSRN
  5. Reserved Characters: Avoid using : and * except for their designated purposes

Integration Examples

JavaScript/TypeScript

Policy Usage