Skip to content

Add secure ConfD RPC port exposure for Docker-DB integration tests - #677

Merged
skyglass merged 10 commits into
mainfrom
feature/676-add-secure-confd-rpc-port-exposure
Sep 15, 2026
Merged

skyglass merged 10 commits into
mainfrom
feature/676-add-secure-confd-rpc-port-exposure

Conversation

@skyglass

@skyglass skyglass commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Closes #676

All Submissions:

  • Is the title of the Pull Request correct?
  • Is the title of the corresponding issue correct?
  • Have you updated the changelog?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Are you mentioning the issue which this PullRequest fixes ("Fixes...")
  • Are the CLI usage examples up to date?

@skyglass
skyglass force-pushed the feature/676-add-secure-confd-rpc-port-exposure branch from cbeb57d to 30a6d32 Compare September 4, 2026 10:18
@skyglass
skyglass force-pushed the feature/676-add-secure-confd-rpc-port-exposure branch from 30a6d32 to 26bffc3 Compare September 4, 2026 10:51
@skyglass
skyglass force-pushed the feature/676-add-secure-confd-rpc-port-exposure branch from 26bffc3 to aac63bb Compare September 4, 2026 11:27
…osure for Docker-DB

Added opt-in confd_port_forward API/CLI option.

- Publishes ConfD 443/tcp only on 127.0.0.1.
  - Added secret-safe extract_confd_bearer_token(environment_info).
- Documented endpoint, bearer auth, and TLS boundary.
- Added unit and Docker-backed integration coverage for mapping, extraction, and secret handling.
@skyglass
skyglass force-pushed the feature/676-add-secure-confd-rpc-port-exposure branch from aac63bb to 5d82015 Compare September 4, 2026 11:48
@skyglass
skyglass enabled auto-merge (squash) September 4, 2026 12:21
- Refined ConfD authentication and configurable port bindings
- Documentation now explicitly states ConfD Basic user/password authentication.
- Added Docker-backed coverage that ConfD defaults to 127.0.0.1 without an explicit bind address.
- Expanded unit coverage so port_bind_address is verified for database, BucketFS HTTP/HTTPS, SSH, and ConfD.
@skyglass
skyglass requested a review from tkilias September 7, 2026 03:17
… keyword argument.

- Replaced getattr(self, "port_bind_address", None) with self.port_bind_address.
@sonarqubecloud

Copy link
Copy Markdown

@skyglass
skyglass requested a review from tkilias September 15, 2026 18:29

ConfD uses Basic authentication with a user name and password. See the
Use a ConfD system user and password with clients that use ConfD Basic
authentication. ITDE does not create or manage ConfD users, extract a bearer

@tkilias tkilias Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment doesn't need a change now. If we are honest, this is a limitation of this PR and should be added in a later PR. The goal of the ITDE is to provide a fully defined environment, where you don't need to guess credentials.

@skyglass
skyglass merged commit d67f96e into main Sep 15, 2026
422 checks passed
@skyglass
skyglass deleted the feature/676-add-secure-confd-rpc-port-exposure branch September 15, 2026 19:14

This branch was previously deployed

1 inactive deployment
manual-approval — f92347d8 Deployed Sep 15, 2026 by skyglass via Merge Gate / Approve Running Slow Tests? #792
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add secure ConfD RPC port exposure for Docker-DB integration tests

3 participants