The latest version of the Cloudsmith command-line interface (CLI) now supports authenticating your Cloudsmith account with SAML single sign-on. ๐ This is useful for users who do not have a username and password and who primarily interact with Cloudsmith through the CLI, as you no longer have to go to the web application to retrieve your API key. ๐
Previously, the only way to authenticate to Cloudsmith via the CLI was using the cloudsmith login command, which requires a username and password. However, users who authenticate via SAML single sign-on do not have passwords configured for their accounts. Instead, those users had to log into the Cloudsmith web application and retrieve their API key.
Now, the Cloudsmith CLI supports a new command:
cloudsmith auth
When you use the new cloudsmith auth command, the Cloudsmith CLI will:
To get started, download the latest version of the Cloudsmith CLI from either Cloudsmith or PyPi. Note: The cloudsmith auth command is available from version 1.3.1. For more help with using the Cloudsmith CLI, please check out our documentation.