Skip to content

Conversation

@fproulx-boostsecurity
Copy link

Summary

This PR adds a new shell plugin for the Google Gemini AI API, enabling secure credential management for the gemini CLI tool through 1Password.

Features

  • API Key credential type with automatic provisioning via GEMINI_API_KEY environment variable
  • Credential importer to detect and import existing Gemini API keys from environment
  • Full validation - all schema checks pass
  • Test coverage - includes tests for both provisioner and importer
  • Documentation - includes links to Google AI Studio API key management

Validation Results

✅ All schema validations passed
✅ Plugin builds successfully
✅ All tests passing
✅ Example secrets generated
✅ Commits signed

Testing

The plugin has been tested locally using make gemini/build and installed to ~/.op/plugins/local/gemini.

Checklist

  • Plugin created using make new-plugin
  • Schema validation passes (make gemini/validate)
  • Plugin builds successfully (make gemini/build)
  • Tests written and passing
  • Example secrets generated (make gemini/example-secrets)
  • Commits are signed
  • No third-party dependencies added
  • Follows contribution guidelines

Closes #[if there's a related issue]

Adds shell plugin for Google Gemini AI API, providing support for:
- API key provisioning via GEMINI_API_KEY environment variable
- Environment variable configuration
- Google AI Studio integration
- Automatic credential import from existing environment

The plugin enables 1Password CLI integration with the gemini CLI tool,
allowing secure management of Gemini API credentials.
@fproulx-boostsecurity
Copy link
Author

@Marton6 could you retest ?

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.

2 participants