Skip to content

feat: add endpoint parameter to azure-blob cas-backend#2504

Merged
migmartri merged 5 commits into
chainloop-dev:mainfrom
JeffResc:feat/cas-backend-azure-endpoint
Nov 3, 2025
Merged

feat: add endpoint parameter to azure-blob cas-backend#2504
migmartri merged 5 commits into
chainloop-dev:mainfrom
JeffResc:feat/cas-backend-azure-endpoint

Conversation

@JeffResc

Copy link
Copy Markdown
Contributor

Adds --endpoint option to chainloop cas-backend add azure-blob command.

For example:

./chainloop cas-backend add azure-blob \
  --client-id [CLIENT_ID] \
  --client-secret [CLIENT_SECRET] \
  --container [CONTAINER] \
  --storage-account [STORAGE_ACCOUNT] \
  --tenant [TENANT] \
  --name az-blob \
  --endpoint blob.core.usgovcloudapi.net

Resolves #2495

Signed-off-by: Jeff Rescignano <jeffr@defenseunicorns.com>
@JeffResc JeffResc force-pushed the feat/cas-backend-azure-endpoint branch from dd92e07 to 9d858cf Compare October 31, 2025 03:42
@migmartri

Copy link
Copy Markdown
Member

Awesome, we'll take a look at it shortly, note that some automated tests are failing.

Just to confirm, did you manage to make this feature work end-to-end locally?

Thanks!

@jiparis

jiparis commented Oct 31, 2025

Copy link
Copy Markdown
Member

Thanks for the contribution @JeffResc, it looks great. For the CI job to pass, you might need to run go generate ./... in app/cli folder to generate the CLI documentation.

Signed-off-by: Jeff Rescignano <jeffr@defenseunicorns.com>
@JeffResc

Copy link
Copy Markdown
Contributor Author

Just to confirm, did you manage to make this feature work end-to-end locally?

Yes I did, I was able to successfully add the cas-backend and push attestations to it

For the CI job to pass, you might need to run go generate ./... in app/cli folder to generate the CLI documentation.

Done, hopefully that resolves the CI errors

@migmartri migmartri left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Awesome contribution!

Just added a couple of nitpicks, and it would be great if you could update the headers from for example Copyright 2023 The Chainloop Authors. to Copyright 2023-2025 The Chainloop Authors

Thanks!

Comment thread app/cli/cmd/casbackend_add_azureblob.go Outdated
Signed-off-by: Jeff Rescignano <jeffr@defenseunicorns.com>
Signed-off-by: Jeff Rescignano <jeffr@defenseunicorns.com>
@migmartri migmartri merged commit 8bcddcf into chainloop-dev:main Nov 3, 2025
13 checks passed
@JeffResc JeffResc deleted the feat/cas-backend-azure-endpoint branch November 3, 2025 14:37
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.

Support for Azure Government Cloud in azure-blob CAS backend

3 participants