Files
Chris Farhood 46d59b48b5 chore: migrate repository to privilegedescalation organization
Updated all GitHub URLs from cpfarhood to privilegedescalation organization:
- Repository URLs in package.json and Artifact Hub metadata
- Documentation links and references
- Git remote updated

No functional changes - this is purely an organizational migration.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-02-12 10:50:30 -05:00

1.1 KiB

Headlamp Sealed Secrets API v0.2.0


Headlamp Sealed Secrets API / lib/controller / fetchPublicCertificate

Function: fetchPublicCertificate()

fetchPublicCertificate(config): AsyncResult<PEMCertificate, string>

Defined in: src/lib/controller.ts:70

Fetch the controller's public certificate with retry logic

Automatically retries on network errors with exponential backoff:

  • Max 3 attempts
  • Initial delay: 1s
  • Max delay: 10s
  • Exponential backoff with jitter

Parameters

config

PluginConfig

Plugin configuration

Returns

AsyncResult<PEMCertificate, string>

Result containing PEM-encoded certificate (branded type) or error message