How do you upload a file via the Connect Server API?

Hello there,

while scanning through https://developer.1password.com/docs/connect/connect-api-reference I noticed that uploading a file (or even downloading it) is not documented. How can I implement that with access to a connect server, which is already setup, and an access token which is allowed to write to 1PW?

Our use-case is to regenerate signing certificates each build in a github actions pipeline.
We don't want to loose the private key so we want to upload the private key to 1Password.

Kind regards,
Malte


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided

Comments

  • eddy_1Peddy_1P

    Team Member

    Hey @nottmeyprotofy,

    Unfortunately, the current version of Connect does not support uploading files to 1Password.

    However, your use case is an interesting one and we're taking this feature request into consideration.

    We will let you know when we will release a new version of Connect that will have the capability of uploading files.

  • nottmeyprotofynottmeyprotofy
    Community Member

    Hey @eddy_1P,

    Thank you for the fast response and taking this feature into consideration. This will likely help anyone who wants to automate secret handling/updating on file basis (e.g. certificates, config files, key files, token files). Rolling certificates (and access tokens, etc.) are a very common pattern with high potential for automation. :D

    Alright, I will need to look for a workaround meanwhile, but hoping to hear from you soon.

    Best,
    Malte

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file