1Password / shell-plugins

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

Feature Request: Specify Endpoint for AWS CLI to use with other S3-Compatible providers (Wasabi, Ceph, ...) #454

Open vyas-n opened 2 months ago

vyas-n commented 2 months ago

Platform or tool

AWS

Desired or expected behavior

I'd like 2 additional optional fields to be available for endpoint and use_path_style so that I can use the aws cli with alternative object storage providers such as Wasabi or Ceph.

Current behavior

Currently, the op AWS shell plugin only uses the following inputs to fill in connection details:

op: The "<redacted>" item does not follow required item structure for credential type Access Key:
    access key id                   The ID of the access key used to authenticate to AWS.
    secret access key               The secret access key used to authenticate to AWS.
    default region (optional)       The default region to use for this access key.
    one-time password (optional)    The one-time code value for MFA authentication.
    mfa serial (optional)           ARN of the MFA serial number to use to generate temporary STS credentials if the item contains a TOTP setup.

To continue, you'll have to update the field names. This can be done interactively. Proceed? [Y/n]

This doesn't provide enough inputs to switch the endpoint to a different provider apart from AWS.

Relevant log output

No response

op CLI version

2.26.1