Exception: Keycardai::OAuth::WorkloadIdentityConfigurationError
- Inherits:
-
ConfigurationError
- Object
- StandardError
- Error
- ConfigurationError
- Keycardai::OAuth::WorkloadIdentityConfigurationError
- Defined in:
- lib/keycardai/oauth/errors.rb
Overview
A workload-identity source is misconfigured at construction: missing token file, no discovery env var set, missing required audience. Carries the source identifier (file, gcp-metadata, fly, custom).
Instance Attribute Summary collapse
- #source ⇒ String readonly
Instance Method Summary collapse
-
#initialize(message, source:) ⇒ WorkloadIdentityConfigurationError
constructor
A new instance of WorkloadIdentityConfigurationError.
Constructor Details
#initialize(message, source:) ⇒ WorkloadIdentityConfigurationError
Returns a new instance of WorkloadIdentityConfigurationError.
121 122 123 124 |
# File 'lib/keycardai/oauth/errors.rb', line 121 def initialize(, source:) super() @source = source end |
Instance Attribute Details
#source ⇒ String (readonly)
119 120 121 |
# File 'lib/keycardai/oauth/errors.rb', line 119 def source @source end |