1Password / shell-plugins

Seamless authentication for every tool in your terminal.
https://developer.1password.com/docs/cli/shell-plugins/
MIT License
526 stars 172 forks source link

op plugin list error: treasuredata #221

Closed aaronkollasch closed 1 year ago

aaronkollasch commented 1 year ago

Platform or tool

Treasure Data

Desired or expected behavior

I don't use the td plugin or have it configured, but it appears to be broken on my system such that I see an error whenever I run op plugin list.

Current behavior

Running op plugin list gives this error:

$ op plugin list >/dev/null
invalid plugin: unknown credential: Access Key (treasuredata)

And td does not appear in the plugin list.

Relevant log output

$ op plugin inspect td

Treasure Data Toolbelt
Credential type: API Key

Configured Aliases

✘ Alias for "td" not configured. Run 'op plugin init td' to configure an alias.
✔ Aliases sourced (/Users/aaron/.config/op/plugins.sh)

Configured Credentials

No credentials currently configured. Run the following command to configure a credential:

  op plugin init td

$ op plugin list
invalid plugin: unknown credential: Access Key (treasuredata)USAGE         NAME                  REQUIRED FIELDS
argocd        Argo CD               Auth Token
aws           AWS                   Access Key ID, Secret Access Key
cachix        Cachix                Token
cargo         Cargo                 Token
circleci      CircleCI              Token
wrangler      Cloudflare Workers    Token
databricks    Databricks            Host, Token
dog           Datadog               API Key, App Key
doctl         DigitalOcean          Token
fastly        Fastly                Token
fossa         FOSSA                 API Key
tea           Gitea                 Token, Host Address, User
gh            GitHub                Token
glab          GitLab                Token
vault         HashiCorp Vault       Token
heroku        Heroku                API Key
hcloud        Hetzner Cloud         Token
brew          Homebrew              Token
lacework      Lacework              Account, API Key ID, API Secret
linode-cli    Linode                Token
mysql         MySQL                 Password
ngrok         ngrok                 Authtoken
okta          Okta                  Token, Org URL
openai        OpenAI                API Key
psql          PostgreSQL            Host, User, Password
rdme          ReadMe                API Key
sentry-cli    Sentry                Token
snowsql       Snowflake             Account, Username, Password
snyk          Snyk                  Token
src           Sourcegraph           Endpoint, Token
stripe        Stripe                Key
tugboat       Tugboat               Token
twilio        Twilio                Account SID, API Key, API Secret
vultr-cli     Vultr                 API Key

op CLI version

2.16.0

SimonBarendse commented 1 year ago

Resolved via https://github.com/1Password/shell-plugins/issues/221. Will be patched in the next 1Password CLI release.

To prevent a similar problem occuring in the feature, we're adding validation in https://github.com/1Password/shell-plugins/pull/226

SimonBarendse commented 1 year ago

Thank you for reporting @aaronkollasch! 🙌

aaronkollasch commented 1 year ago

Great! Thanks for the fixes!