Skip to content

feat(vault): add examples for vault usage with teams and fallback behavior#356

Open
SyedZawwarAhmed wants to merge 1 commit intodevfrom
feat/team-vault-binding
Open

feat(vault): add examples for vault usage with teams and fallback behavior#356
SyedZawwarAhmed wants to merge 1 commit intodevfrom
feat/team-vault-binding

Conversation

@SyedZawwarAhmed
Copy link
Contributor

📝 Description

  • Introduced 02-agent-vault-default-team.ts demonstrating agent creation without a teamId, utilizing the default vault namespace.
  • Added 03-agent-vault-custom-team.ts showcasing team-specific vault access and cross-team isolation.
  • Created 04-vault-fallback-behavior.ts to illustrate fallback behavior to a shared namespace when keys are not found in the team's vault.
  • Implemented 04b-vault-no-fallback.ts to demonstrate isolated vault access without shared fallback.
  • Updated Team.class.ts to include a vault instance for managing team-specific secrets.

🔗 Related Issues

  • Fixes #
  • Relates to #

🔧 Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 📚 Documentation update
  • 🔧 Code refactoring (no functional changes)
  • 🧪 Test improvements
  • 🔨 Build/CI changes

✅ Checklist

  • Self-review performed
  • Tests added/updated
  • Documentation updated (if needed)

…avior

- Introduced `02-agent-vault-default-team.ts` demonstrating agent creation without a teamId, utilizing the default vault namespace.
- Added `03-agent-vault-custom-team.ts` showcasing team-specific vault access and cross-team isolation.
- Created `04-vault-fallback-behavior.ts` to illustrate fallback behavior to a shared namespace when keys are not found in the team's vault.
- Implemented `04b-vault-no-fallback.ts` to demonstrate isolated vault access without shared fallback.
- Updated `Team.class.ts` to include a vault instance for managing team-specific secrets.
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.

1 participant