Title: RFE: support env variables like `BUGZILLA_API_KEY`, `BUGZILLA_PASSWORD`, etc · Issue #153 · python-bugzilla/python-bugzilla · GitHub
Open Graph Title: RFE: support env variables like `BUGZILLA_API_KEY`, `BUGZILLA_PASSWORD`, etc · Issue #153 · python-bugzilla/python-bugzilla
X Title: RFE: support env variables like `BUGZILLA_API_KEY`, `BUGZILLA_PASSWORD`, etc · Issue #153 · python-bugzilla/python-bugzilla
Description: It appears that the CLI doesn't support configuration (e.g. username+password or API token) using environment variables. My use case is direnv, as I use it to conditionally configure my environment rather than relying on global/centraliz...
Open Graph Description: It appears that the CLI doesn't support configuration (e.g. username+password or API token) using environment variables. My use case is direnv, as I use it to conditionally configure my environment...
X Description: It appears that the CLI doesn't support configuration (e.g. username+password or API token) using environment variables. My use case is direnv, as I use it to conditionally configure my environ...
Opengraph URL: https://github.com/python-bugzilla/python-bugzilla/issues/153
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RFE: support env variables like `BUGZILLA_API_KEY`, `BUGZILLA_PASSWORD`, etc","articleBody":"It appears that the CLI doesn't support configuration (e.g. username+password or API token) using environment variables. My use case is [direnv](https://direnv.net/), as I use it to conditionally configure my environment rather than relying on global/centralized config when possible. Examples of possible env variables:\r\n\r\n- `BUGZILLA_HOST` - sets the host for `bugzilla` commands to interface with, e.g. `BUGZILLA_HOST=\"https://bugzilla.redhat.com\"`\r\n- `BUGZILLA_USERNAME` - sets the username to be used when authenticating\r\n- `BUGZILLA_PASSWORD` - sets the password to be used when authenticating\r\n- `BUGZILLA_API_TOKEN` - sets the API token to be used when making an API request\r\n\r\nIf this is something you'd be interested in supporting, I'm happy to work on this and submit a PR :)","author":{"url":"https://github.com/osslate","@type":"Person","name":"osslate"},"datePublished":"2021-12-09T18:44:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/153/python-bugzilla/issues/153"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a806497e-0701-f078-c874-12f5d66866d3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9758:3F84A0:230E9:3113E:6978A79E |
| html-safe-nonce | 44ed4261582fec3777c343347834a3f91565a0fafe378b6a01b87a0eec3c06b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzU4OjNGODRBMDoyMzBFOTozMTEzRTo2OTc4QTc5RSIsInZpc2l0b3JfaWQiOiI4NDYyOTE4NDIyMTE4MzExODM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 60311f9a2a3a7bc9f16eae2390dc3d12d26d5db45abd72efe7d6663ed4fbb11c |
| hovercard-subject-tag | issue:1075887012 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-bugzilla/python-bugzilla/153/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b025eb9ab8f9042bcd0c69ae30344ba8219b4e97de56da49320fc74f366c741c/python-bugzilla/python-bugzilla/issues/153 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b025eb9ab8f9042bcd0c69ae30344ba8219b4e97de56da49320fc74f366c741c/python-bugzilla/python-bugzilla/issues/153 |
| og:image:alt | It appears that the CLI doesn't support configuration (e.g. username+password or API token) using environment variables. My use case is direnv, as I use it to conditionally configure my environment... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | osslate |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-bugzilla/python-bugzilla git https://github.com/python-bugzilla/python-bugzilla.git |
| octolytics-dimension-user_id | 12552361 |
| octolytics-dimension-user_login | python-bugzilla |
| octolytics-dimension-repository_id | 36042880 |
| octolytics-dimension-repository_nwo | python-bugzilla/python-bugzilla |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36042880 |
| octolytics-dimension-repository_network_root_nwo | python-bugzilla/python-bugzilla |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f8aa86d87c47054170094daaf9699b27a28a8448 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width