Skip to content

refactor: Move SecretManagerClient to google.adk.integrations.secret_manager package#5094

Merged
copybara-service[bot] merged 1 commit intomainfrom
copybara/873575582
Apr 2, 2026
Merged

refactor: Move SecretManagerClient to google.adk.integrations.secret_manager package#5094
copybara-service[bot] merged 1 commit intomainfrom
copybara/873575582

Conversation

@copybara-service
Copy link
Copy Markdown

refactor: Move SecretManagerClient to google.adk.integrations.secret_manager package

Reasons for moving SecretManagerClient:

  1. Logical Grouping: SecretManagerClient represents an integration with Google Cloud Secret Manager. Placing it in the integrations package is more intuitive and organized than keeping it within a specific tool's client directory.

  2. Increased Reusability: As a common utility in google.adk.integrations, it is now easily discoverable and accessible for any other agent or tool in the ADK that needs to interact with Google Cloud Secret Manager.

  3. Better Abstraction: It provides a clean, simplified interface for secret retrieval from Google Cloud Secret Manager. Future enhancements will be consolidated in the same package.

  4. Cleaner Tooling: The apihub_tool can now focus purely on the API Hub logic while delegating secret management to this dedicated package.

For what its worth, SecretManagerClient is not used by the apihub_tool at the moment.

…manager package

Reasons for moving `SecretManagerClient`:

1. **Logical Grouping**: `SecretManagerClient` represents an integration with Google Cloud Secret Manager. Placing it in the `integrations` package is more intuitive and organized than keeping it within a specific tool's client directory.

2. **Increased Reusability**: As a common utility in `google.adk.integrations`, it is now easily discoverable and accessible for any other agent or tool in the ADK that needs to interact with Google Cloud Secret Manager.

3. **Better Abstraction**: It provides a clean, simplified interface for secret retrieval from Google Cloud Secret Manager. Future enhancements will be consolidated in the same package.

4. **Cleaner Tooling**: The `apihub_tool` can now focus purely on the API Hub logic while delegating secret management to this dedicated package.

For what its worth, `SecretManagerClient` is not used by the `apihub_tool` at the moment.

PiperOrigin-RevId: 893221472
@copybara-service copybara-service bot force-pushed the copybara/873575582 branch from e4563df to 1104523 Compare April 2, 2026 02:05
@copybara-service copybara-service bot merged commit 1104523 into main Apr 2, 2026
@copybara-service copybara-service bot deleted the copybara/873575582 branch April 2, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant