{"id":18995770,"url":"https://github.com/turbot/steampipe-plugin-aiven","last_synced_at":"2025-04-22T13:48:34.404Z","repository":{"id":151071131,"uuid":"617663699","full_name":"turbot/steampipe-plugin-aiven","owner":"turbot","description":"Use SQL to instantly query Aiven accounts, projects, teams, users \u0026 more. Open source CLI. No DB required.","archived":false,"fork":false,"pushed_at":"2025-04-10T08:20:38.000Z","size":219,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-10T09:37:19.460Z","etag":null,"topics":["aiven","backup","etl","hacktoberfest","postgresql","postgresql-fdw","sql","sqlite","steampipe","steampipe-plugin","zero-etl"],"latest_commit_sha":null,"homepage":"https://hub.steampipe.io/plugins/turbot/aiven","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/turbot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-03-22T21:13:10.000Z","updated_at":"2025-04-10T08:19:37.000Z","dependencies_parsed_at":"2023-12-13T11:43:52.349Z","dependency_job_id":"6c893cf3-ee24-4bf4-807e-59cea75e0372","html_url":"https://github.com/turbot/steampipe-plugin-aiven","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fsteampipe-plugin-aiven","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fsteampipe-plugin-aiven/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fsteampipe-plugin-aiven/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fsteampipe-plugin-aiven/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/turbot","download_url":"https://codeload.github.com/turbot/steampipe-plugin-aiven/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250251867,"owners_count":21399895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aiven","backup","etl","hacktoberfest","postgresql","postgresql-fdw","sql","sqlite","steampipe","steampipe-plugin","zero-etl"],"created_at":"2024-11-08T17:32:45.450Z","updated_at":"2025-04-22T13:48:34.381Z","avatar_url":"https://github.com/turbot.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image](https://hub.steampipe.io/images/plugins/turbot/aiven-social-graphic.png)\n\n# Aiven Plugin for Steampipe\n\nUse SQL to query projects, services, integration endpoints and more from Aiven.\n\n- **[Get started →](https://hub.steampipe.io/plugins/turbot/aiven)**\n- Documentation: [Table definitions \u0026 examples](https://hub.steampipe.io/plugins/turbot/aiven/tables)\n- Community: [Join #steampipe on Slack →](https://turbot.com/community/join)\n- Get involved: [Issues](https://github.com/turbot/steampipe-plugin-aiven/issues)\n\n## Quick start\n\nDownload and install the latest Aiven plugin:\n\n```bash\nsteampipe plugin install aiven\n```\n\nConfigure your [credentials](https://hub.steampipe.io/plugins/turbot/aiven#credentials) and [config file](https://hub.steampipe.io/plugins/turbot/aiven#configuration).\n\n### Configuring Aiven Credentials\n\nConfigure your account details in `~/.steampipe/config/aiven.spc`:\n\nYou may specify the API key to authenticate:\n\n- `api_key`: Specify the authentication token.\n\n```hcl\nconnection \"aiven\" {\n  plugin   = \"aiven\"\n  api_key  = \"oGAxUvrjAdL3QBhWnaJI67Pc9P0rPDzDfhykzVfBYPlmvVH8WdJMKaeVKzcrl4CnyXpjiaKJCCNT+OkbpxfWdDNqwZPngS\"\n}\n```\n\nor you may specify the email ID and password to authenticate:\n\n- `email`: Specify the aiven email.\n- `password`: Specify the aiven password.\n\n```hcl\nconnection \"aiven\" {\n  plugin   = \"aiven\"\n  email    = \"test@turbot.com\"\n  password = \"turbot@123\"\n}\n```\n\nor through environment variables\n\n```sh\nexport AIVEN_TOKEN=\"oGAxUvrjAdL3QBhWnaJI67Pc9P0rPDzDfhykzVfBYPlmvVH8WdJMKaeVKzcrl4Cny\"\n```\n\nor through the active credentials from the Aiven CLI. You can run `avn user login` to set up these credentials.\n\n```hcl\nconnection \"aiven\" {\n  plugin = \"aiven\"\n}\n```\n\nRun steampipe:\n\n```shell\nsteampipe query\n```\n\nList your Aiven accounts:\n\n```sql\nselect\n  id,\n  name,\n  billing_enabled,\n  tenant_id\nfrom\n  aiven_account;\n```\n\n```\n+--------------+-------------+-----------------+-----------+\n| id           | name        | billing_enabled | tenant_id |\n+--------------+-------------+-----------------+-----------+\n| a41fdc9a0625 | Turbot-test | false           | aiven     |\n| a41fd3d3b210 | turbot      | false           | aiven     |\n+--------------+-------------+-----------------+-----------+\n```\n\n## Engines\n\nThis plugin is available for the following engines:\n\n| Engine        | Description\n|---------------|------------------------------------------\n| [Steampipe](https://steampipe.io/docs) | The Steampipe CLI exposes APIs and services as a high-performance relational database, giving you the ability to write SQL-based queries to explore dynamic data. Mods extend Steampipe's capabilities with dashboards, reports, and controls built with simple HCL. The Steampipe CLI is a turnkey solution that includes its own Postgres database, plugin management, and mod support.\n| [Postgres FDW](https://steampipe.io/docs/steampipe_postgres/overview) | Steampipe Postgres FDWs are native Postgres Foreign Data Wrappers that translate APIs to foreign tables. Unlike Steampipe CLI, which ships with its own Postgres server instance, the Steampipe Postgres FDWs can be installed in any supported Postgres database version.\n| [SQLite Extension](https://steampipe.io/docs/steampipe_sqlite/overview) | Steampipe SQLite Extensions provide SQLite virtual tables that translate your queries into API calls, transparently fetching information from your API or service as you request it.\n| [Export](https://steampipe.io/docs/steampipe_export/overview) | Steampipe Plugin Exporters provide a flexible mechanism for exporting information from cloud services and APIs. Each exporter is a stand-alone binary that allows you to extract data using Steampipe plugins without a database.\n| [Turbot Pipes](https://turbot.com/pipes/docs) | Turbot Pipes is the only intelligence, automation \u0026 security platform built specifically for DevOps. Pipes provide hosted Steampipe database instances, shared dashboards, snapshots, and more.\n\n## Developing\n\nPrerequisites:\n\n- [Steampipe](https://steampipe.io/downloads)\n- [Golang](https://golang.org/doc/install)\n\nClone:\n\n```sh\ngit clone https://github.com/turbot/steampipe-plugin-aiven.git\ncd steampipe-plugin-aiven\n```\n\nBuild, which automatically installs the new version to your `~/.steampipe/plugins` directory:\n\n```\nmake\n```\n\nConfigure the plugin:\n\n```\ncp config/* ~/.steampipe/config\nvi ~/.steampipe/config/aiven.spc\n```\n\nTry it!\n\n```\nsteampipe query\n\u003e .inspect aiven\n```\n\nFurther reading:\n\n- [Writing plugins](https://steampipe.io/docs/develop/writing-plugins)\n- [Writing your first table](https://steampipe.io/docs/develop/writing-your-first-table)\n\n## Contributing\n\nPlease see the [contribution guidelines](https://github.com/turbot/steampipe/blob/main/CONTRIBUTING.md) and our [code of conduct](https://github.com/turbot/steampipe/blob/main/CODE_OF_CONDUCT.md). Contributions to the plugin are subject to the [Apache 2.0 open source license](https://github.com/turbot/steampipe-plugin-aiven/blob/main/LICENSE). Contributions to the plugin documentation are subject to the [CC BY-NC-ND license](https://github.com/turbot/steampipe-plugin-aiven/blob/main/docs/LICENSE).\n\n`help wanted` issues:\n\n- [Steampipe](https://github.com/turbot/steampipe/labels/help%20wanted)\n- [Aiven Plugin](https://github.com/turbot/steampipe-plugin-aiven/labels/help%20wanted)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbot%2Fsteampipe-plugin-aiven","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturbot%2Fsteampipe-plugin-aiven","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbot%2Fsteampipe-plugin-aiven/lists"}