Skip to content

Conversation

@scotwells
Copy link
Contributor

The datumctl organizations command has been removed and replaced with datumctl get organizations.

This change introduces a new top-level get subcommand that will eventually be used for retrieving all resources, following a similar pattern to kubectl. This provides a more intuitive and extensible command structure.

The implementation for fetching organizations now uses a user-contextual controller-runtime client. This client constructs a user-specific API endpoint and authenticates using the user's OIDC token.

The 'datumctl organizations' command has been removed and replaced with
'datumctl get organizations'.

This change introduces a new top-level 'get' subcommand that will be
used for retrieving all resources, following a similar pattern to
kubectl. This provides a more intuitive and extensible command
structure.

The implementation for fetching organizations now uses a user-contextual
controller-runtime client. This client constructs a user-specific API
endpoint and authenticates using the user's OIDC token, providing a
more robust and secure method for interacting with the Datum API.
Copy link

@brandon-burciaga brandon-burciaga left a comment

Choose a reason for hiding this comment

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

👍

@scotwells scotwells merged commit 2502d0b into feat/oidc-authentication Jul 16, 2025
@scotwells scotwells deleted the feat/list-organization-memberships branch July 16, 2025 15:28
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.

4 participants