Merged
Conversation
Adds a new SecretsManager service that lets users browse and retrieve secrets via the aws: drive. JSON secrets are navigable as containers where each top-level key becomes a child item accessible via Get-Content. Filesystem hierarchy: aws:/<profile>/<region>/secretsmanager/secrets/<secret-name>/<json-key> https://claude.ai/code/session_01QhMmDXjkSLNqcz11WmUwMT
For secrets containing JSON objects, Get-ItemProperty returns the key-value pairs as PowerShell properties and Set-ItemProperty updates individual keys in the JSON without replacing the entire secret. https://claude.ai/code/session_01QhMmDXjkSLNqcz11WmUwMT
Enable writing secret values via Set-Content at both levels: - SecretHandler: replaces the entire secret string - SecretValueHandler: updates an individual JSON key within the secret https://claude.ai/code/session_01QhMmDXjkSLNqcz11WmUwMT
Secrets with "/" in their names (e.g., entsvc/aigenmodel/bria-attribution) are now browsable as a folder hierarchy under the secrets container. Uses the ItemNavigator pattern (same as CloudWatch log groups) with MapRegex routing to capture multi-segment secret paths. - SecretNavigator splits secret names into virtual folders and leaf secrets - SecretFolderItem represents intermediate path segments as containers - SecretHandler handles folders, secrets, and JSON keys via API probing - SecretValueHandler removed (logic merged into SecretHandler) - SecretItem.ItemName now uses last segment only (not full name) https://claude.ai/code/session_01QhMmDXjkSLNqcz11WmUwMT
Secret values are no longer exposed as navigable child items. Instead, use Get-Content/Set-Content for raw values and Get/Set-ItemProperty for individual JSON keys. This removes the three-way dispatch complexity and extra API calls from SecretHandler. - SecretItem.IsContainer = false (secrets are leaf nodes) - SecretPath extends TypedItemPath, Routes uses MapRecursive - SecretHandler simplified to two-way folder/secret dispatch - SecretValueItem deleted - SecretValue item type removed https://claude.ai/code/session_01QhMmDXjkSLNqcz11WmUwMT
Covers path hierarchy, browsing, reading/writing secret values with Get-Content/Set-Content, and JSON property access with Get-ItemProperty/Set-ItemProperty. https://claude.ai/code/session_01QhMmDXjkSLNqcz11WmUwMT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.