Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/controlplane/cmd/wire.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright 2024 The Chainloop Authors.
// Copyright 2024-2025 The Chainloop Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -52,7 +52,7 @@ func wireApp(*conf.Bootstrap, credentials.ReaderWriter, log.Logger, sdk.Availabl
wire.Bind(new(biz.CASClient), new(*biz.CASClientUseCase)),
serviceOpts,
wire.Value([]biz.CASClientOpts{}),
wire.FieldsOf(new(*conf.Bootstrap), "Server", "Auth", "Data", "CasServer", "ReferrerSharedIndex", "Onboarding", "PrometheusIntegration", "PolicyProviders", "NatsServer", "CertificateAuthorities"),
wire.FieldsOf(new(*conf.Bootstrap), "Server", "Auth", "Data", "CasServer", "ReferrerSharedIndex", "Onboarding", "PrometheusIntegration", "PolicyProviders", "NatsServer", "CertificateAuthorities", "FederatedAuthentication"),
wire.FieldsOf(new(*conf.Data), "Database"),
dispatcher.New,
authz.NewDatabaseEnforcer,
Expand Down
2 changes: 2 additions & 0 deletions app/controlplane/cmd/wire_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion app/controlplane/configs/config.devel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,8 @@ policy_providers:
default: true
url: http://localhost:8002/v1

enable_profiler: true
enable_profiler: true

# federated_authentication:
# enabled: true
# url: http://localhost:8002/machine-identity/verify-token
6 changes: 6 additions & 0 deletions app/controlplane/configs/samples/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,9 @@ prometheus_integration:
- org_name: "my-org"

enable_profiler: true

# Enable federated authentication during attestation process
# This means that the controlplane will send the JWT token to a remote endpoint to verify it
# federated_authentication:
# enabled: true
# url: http://localhost:8002/machine-identity/verify-token
Loading
Loading