-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #391 from OpenFn/project
New V2 docs on Manage Project and Manage Credentials
- Loading branch information
Showing
15 changed files
with
121 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
title: Manage Credentials | ||
--- | ||
|
||
You can view the Credentials related to a Project under the Project | ||
`Settings > Credentials` page. In this article, you'll learn how to manage your | ||
credentials related to a project. | ||
|
||
### View all Project Credentials | ||
|
||
Via this `Credentials` page, you can see a list of all Credentials, including | ||
the name, type, and owner, and whether they are for a production environment. | ||
|
||
![Credentials Overview](/img/lightning_credentials_overview.png) | ||
|
||
:::info Viewing credential secrets | ||
|
||
All Project Collaborators can view the credential name, type, and owner, but | ||
only the Credential Owner can view the credential secrets (username, password, | ||
etc.). | ||
|
||
::: | ||
|
||
### Create a new Credential | ||
|
||
1. Click on the `New Credential` button, and choose the type of app you want to | ||
connect. | ||
|
||
2. If your app is not listed, choose "Raw JSON" to create your own custom | ||
credential or "configuration" input. For example: | ||
|
||
```json | ||
{ "loginUrl": "https://random-app.com", "username": "test", "password": "pwd" } | ||
``` | ||
|
||
![Credential Type](/img/lightning_choose_cred_type.png) | ||
|
||
3. Click `Configure Credentials` and add the authentication details for your | ||
app. The credential form will indicate which fields are required. | ||
|
||
![Add Credential](/img/lightning_add_cred.png) | ||
|
||
:::tip Not sure how to fill in all credential details? | ||
|
||
While creating a new credential form, if you're not sure what some of these | ||
fields require (e.g., "security token"), then head over to the relevant | ||
`Adaptors` docs page to learn more and read about the "configuration schema" or | ||
ask on [Community](https://community.openfn.org). | ||
|
||
::: | ||
|
||
3. Click `Save` and you'll see it listed in your `Credentials` page. You can now | ||
use it across the Project when building and running Workflows. | ||
|
||
![New Credential Ready](/img/lightning_new_cred_ready.png) | ||
|
||
### Share Credentials | ||
|
||
If you own a Credential, you can choose which Project has access to it. To update which Projects your Credential is shared with, follow the steps on the User Credentials docs page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
title: Manage User Credentials | ||
sidebar_label: User Credentials | ||
slug: /user-credentials | ||
--- | ||
|
||
You can manage all the Credentials you own under the `Credentials` page of your profile. This article, we'll walk you through how to manage and share the Credentials you own across projects. | ||
|
||
### All your Credentials in one place | ||
|
||
The `Credentials` page of your `User Settings` allows you to add, view, edit or delete the Credentials you own. It is the central place to manage your Credentials across all projects you collaborate on. | ||
|
||
![User Credential](/img/lightning_user_profile_credentials.png) | ||
|
||
![User Credentials List](/img/lightning_edit_user_credential.png) | ||
|
||
For guidance on how to set up a new Credential, head over to our [Manage Credentials](/documentation/next/manage-projects/manage-credentials) page. | ||
|
||
You can update the name and login details of a Credential after clicking `Edit`. | ||
|
||
![User Credential Edit View](/img/lightning_cred_edit_view.png) | ||
|
||
|
||
### Share Credentials | ||
|
||
You can also allow multiple projects to have access to a Credential you own. | ||
|
||
To add or remove project access, click `Edit` on the Credential you want to share, and choose the project from the dropdown under `Project Access`. | ||
|
||
![Update Project Access](/img/lightning_share_cred_with_project.png) | ||
|
||
:::info Shared Credentials remain secret | ||
|
||
If you share a Credential with a Project, Collaborators of that Project can _use_ the Credential in their Workflows, but they won't be able to see the login details contained. | ||
|
||
::: | ||
|
||
:::tip | ||
|
||
If you want to share the login details contained in the Credential, use a secure sharing protocol like a password manager or an encrypted messaging platform. | ||
|
||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.