Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Extra credentials #61

Merged
merged 6 commits into from
Dec 13, 2023
Merged

Extra credentials #61

merged 6 commits into from
Dec 13, 2023

Conversation

joanvr
Copy link
Contributor

@joanvr joanvr commented Dec 12, 2023

What's changed?

Added an extra map parameter called --credentials that allows to add extra credentials bindings.
Two types of bindings are supported:

  • StringBinding (Secret Text) with --credentials CREDENTIAL_ID:VARIABLE
  • UsernamePasswordMultiBinding (Username and password (separated)) with --credentials CREDENTIAL_ID:USERNAME_VARIABLE:PASSWORD_VARIABLE

What's your motivation?

With this approach we can pass credentials to the build project, for example to configure auth for a repository

Anyone you would like to review specifically?

@timtebeek

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've used the IntelliJ auto-formatter on affected files
  • I've updated the documentation (if applicable)

@joanvr joanvr requested a review from timtebeek December 12, 2023 23:06
@timtebeek timtebeek merged commit 634e4ba into main Dec 13, 2023
1 check passed
@timtebeek timtebeek deleted the extra-credentials branch December 13, 2023 08:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants