Skip to content

[CDF-24214] 👮Standardize Transformation Authentication #1565

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

doctrino
Copy link
Collaborator

@doctrino doctrino commented May 13, 2025

Description

Learning that the sourceOidcCredentials and destinationOidcCredentials are deprecated, introducing the same setup as workflows and functions for providing clientId/clientSecret to give auth.

Changelog

  • Patch
  • Minor
  • Skip

cdf

Improved

  • Standardization of authentication for Transformations, i.e., matching FunctionSchedules and WorkflowTrigger. That is allow you to only specify clientId/clientSecret if you are doing a transformation within the same CDF Project as the Toolkit is configured for.
  • Warning message if you set sourceOidcCredentials and destinationOidcCredentials.

Removed

  • You can no longer set sourceNonce and destinationNonce directly in a Transformation. You need to use authentication.clientId/authentication.ClientSecret instead.

templates

No changes.

Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
17096 13047 76% 60% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/function_loaders.py 84% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/transformation_loaders.py 71% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/workflow_loaders.py 85% 🟢
cognite_toolkit/_cdf_tk/utils/cdf.py 68% 🟢
TOTAL 77% 🟢

updated for commit: 8a4067c by action🐍

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.

1 participant