Skip to content

[FEATURE] - credential-helper for maven #481

Open

Description

@karlhaworth

Summary

From article OIDC removed long-lived credentials from your pipelines. What about your laptop?

You asked "Missing your favorite package manager?" and to post here.

I'd like to request Maven.

Problem Statement

As a user of Cloudsmith,
I'd like to request maven is added for a credential-helper,
so that I can use short lived credentials easily with maven on my local workstation.

Proposed Solution

🪄

Alternatives Considered

Use Case

cloudsmith credential-helper install maven works

Additional Context

Activity

  1. changed the title [-][FEATURE][/-] [+][FEATURE] - `credential-helper` for maven[/+] on Oct 13, 2026
  2. coillteoir commented on Oct 14, 2026

    @coillteoir
    Contributor

    Hello, thank you for this suggestion!

    We've logged this internally and the team should have this out soon!

  3. cloudsmith-iduffy commented on Oct 20, 2026

    @cloudsmith-iduffy
    Collaborator

    Thanks for creating the issue @karlhaworth we've done some work in the background to create some maven, gradle and sbt extensions that can call out to the Cloudsmith CLI to grab credentials from its generic credential helper.

    Waiting for some rounds of internal testing and feedback before putting it out for general consumption. It will be extremely similar to https://github.com/cloudsmith-labs/cloudsmith-keyring but for the Java world.

  4. karlhaworth commented on Oct 20, 2026

    @karlhaworth
    Author

    5. Thanks for creating the issue @karlhaworth we've done some work in the background to create some maven, gradle and sbt extensions that can call out to the Cloudsmith CLI to grab credentials from its generic credential helper.
    Waiting for some rounds of internal testing and feedback before putting it out for general consumption. It will be extremely similar to https://github.com/cloudsmith-labs/cloudsmith-keyring but for the Java world.

    Awesome! Thank you for the update. We look forward to utilizing this.

  5. cloudsmith-iduffy commented on Nov 3, 2026

    @cloudsmith-iduffy
    Collaborator

    Hey @karlhaworth

    We've opened up the library behind it https://github.com/cloudsmith-labs/cloudsmith-maven-tools and have a pending PR to add a user friendly install command #520 I'm hoping it will make it into the next release, or the one after that.

    It builds on top of functionality the CLI already has. The maven library calls out to the cloudsmith domain list command to see if a domain provided via maven servers is a valid cloudsmith domain, if it is then it shells out to cloudsmith credential-helper generic to get the saml credentials that were established on the cli via a cloudsmith auth -w workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions