turbot / steampipe-plugin-jira

Use SQL to instantly query Jira. Open source CLI. No DB required.

Home Page:https://hub.steampipe.io/plugins/turbot/jira

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connection configuration is not available through env variables

vm-diegocruz opened this issue · comments

Describe the bug
To add the connection configuration using env variables is not available as in other plugins, the documentation only defines through the jira.spc. Environment variables should be an option.

Steampipe version (steampipe -v)
v0.17.4

Plugin version (steampipe plugin list)
v0.8.0

To reproduce
The documentation is not defining the env variables available to be exported, also, there is no reference in the code docs.

Expected behavior
Passing the configuration (base_url, username and password) using env variables should be an option like in other plugins like AWS, Azure, GCP, Github, etc.

Adding support for environment variables is fairly straight forward if anyone would like to attempt it:

  1. Choose env var names similar to those used in other Jira applications / terraform / etc.
  2. Update this function to grab the env var data. See this function as an example to follow.
  3. Update the docs/index.md to detail the env var settings.

'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.'

Removing stale label to keep the issue available as a good first issue.

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.