Skip to content

Task 2.1: Create OCI Authentication Factory #100

Closed

Description

@slin1237

Description: Implement the OCI-specific authentication factory that integrates with the core authentication framework. This factory will handle OCI-specific configuration and credential instantiation.

Dependencies: Core Framework (Task Group 1)

Deliverables:

  • pkg/auth/oci/factory.go with Factory implementation
  • Registration handled externally to avoid import cycles
  • OCI-specific configuration types in config.go

Implementation Status:

  • Factory struct with Create() and SupportedAuthTypes() methods
  • Supports all OCI auth types (User, Instance, Resource, OKE Workload)
  • Configuration extraction from auth.Config.Extra
  • Proper error handling for unsupported auth types
  • Integration with OCI SDK configuration providers

Acceptance Criteria:

  • Factory correctly identifies OCI auth types
  • Validates provider type matches OCI
  • Returns appropriate errors for invalid configurations
  • Integrates with DefaultFactory via registration
  • Unit tests cover configuration scenarios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

authmulti-cloud

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions