Skip to content

Add secret ref validation#135

Merged
JillRegan merged 13 commits intofeature/migrate-to-sdkfrom
jill/validate-secret-reference
Feb 23, 2026
Merged

Add secret ref validation#135
JillRegan merged 13 commits intofeature/migrate-to-sdkfrom
jill/validate-secret-reference

Conversation

@JillRegan
Copy link
Copy Markdown
Contributor

@JillRegan JillRegan commented Feb 18, 2026

Overview

Adds validation for secret references before attempting to load them from 1Password. This ensures that malformed or invalid secret references fail fast with clear error messages instead of causing issues downstream.

⚠️ Currently Connect uses CLI op env ls which validates already so we can avoid adding logic here until Connect is migrated.

Changes

  • Validates secret reference format before processing
  • Adds error handling for improperly formatted references
  • Includes tests to cover validation edge cases

E2E test was added to test this expected failure

@JillRegan JillRegan marked this pull request as ready for review February 18, 2026 22:45
Base automatically changed from jill/use-sdk-for-service-account to feature/migrate-to-sdk February 20, 2026 13:22
Copy link
Copy Markdown

@rishiy15 rishiy15 left a comment

Choose a reason for hiding this comment

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

Overall LGTM.

@JillRegan JillRegan merged commit a665f2c into feature/migrate-to-sdk Feb 23, 2026
111 of 158 checks passed
@JillRegan JillRegan deleted the jill/validate-secret-reference branch February 23, 2026 16:42
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.

3 participants