Skip to content

Create credentials via API #3583

@taylordowns2000

Description

@taylordowns2000

Background

As an administrator of an external system, I'd like to provide my users with an interface that allows them to enable a specific OpenFn-hosted workflow by simply selecting that workflow and providing the necessary credential data.

Follow the steps, 1 to 4, in the diagram below to see the flow from the external system to OpenFn.

Image

The scope of this issue

This issue is about creating a REST API for credentials, which will allow a properly authenticated request from an external system (or a CURL from a command line) to securely create a credential in OpenFn and add it to one or more projects. (NOTE: see current MSF credential creation via command line implementation.)

Keychain credentials are already handled.

Acceptance Criteria

  • I should be able to make an HTTP request using curl with clear parameters in a secure way that adds a new credential to OpenFn and grants access to a specific project

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions