Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 46 additions & 15 deletions docs/manage-users/user-credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ sidebar_label: User Credentials
slug: /user-credentials
---

You can manage all the Credentials you own under the `Credentials` page of your
profile. In this article, we'll walk you through how to manage and share the
Credentials you own across projects.
You can manage all the Credentials you own on the `Credentials` page. To open
it, click the user menu and choose `Credentials`.

### All your Credentials in one place
## 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.
The `Credentials` page lets you 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.webp)

Expand All @@ -21,21 +20,26 @@ Credentials across all projects you collaborate on.
For guidance on how to set up a new Credential, head over to our
[Manage Credentials](/manage-projects/manage-credentials.md) page.

You can update the name and login details of a Credential after clicking `Edit`.
To update the name and login details of a Credential, click the `Actions` button
on it and choose `Edit`. The edit form also has a tab for each of the
Credential's environments, where you can add, rename or delete an environment.
See [Environments](/build/sandboxes.md#environments).

![User Credential Edit View](/img/lightning_cred_edit_view.webp)

### Share Credentials
## Share Credentials

You can also allow multiple projects to have access to a Credential you own.

Follow the steps below to give a project access to a credential:
1. Visit the credentials page under your profile and find the credential you are looking to share.
Follow the steps below to give a project access to a credential:

1. Open the `Credentials` page and find the credential you are looking to share.
2. Click the `Actions` button on the credential and select `Edit`.
3. In the pop-up that follows look for a `Projects access` section at the bottom.
![projects access](/img/projects-access.webp)
4. Search for the target project in the dropdown and click on it. See that it is added below the dropdown and click on `Save credential`
![projects access](/img/project-added.webp)
3. In the pop-up that follows look for a `Projects access` section at the
bottom. ![projects access](/img/projects-access.webp)
4. Search for the target project in the dropdown and click on it. See that it is
added below the dropdown and click the `Save Credential` button.
![projects access](/img/project-added.webp)

:::info Shared Credentials remain secret

Expand All @@ -51,3 +55,30 @@ 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.

:::

## Transfer a Credential

You can hand ownership of a Credential to another user.

1. Click the `Actions` button on the Credential and choose `Transfer`.
2. Enter the email address of the new owner. They must be a member of every
project where the Credential is used.
3. Click the `Transfer` button. We send you a confirmation email.
4. Open the link in the email to confirm the transfer.

Until you confirm, the menu item reads `Revoke Transfer`. Choose it to cancel
the transfer and keep the Credential. Once the transfer is complete, the new
owner can edit the Credential and share it with other projects, and you can no
longer manage it.

## Delete a Credential

To delete a Credential, click the `Actions` button on it and choose `Delete`.

Deleting a Credential removes it from all jobs and projects straight away. After
a cooling-off period its secrets are scrubbed for good. If the Credential was
used in runs, the record itself is kept until the related history expires.

During the cooling-off period, the `Actions` menu shows `Cancel deletion` and
`Delete now`. If you cancel the deletion, you need to share the Credential with
its projects again.
Binary file modified static/img/lightning_cred_edit_view.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/lightning_edit_user_credential.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/lightning_user_profile_credentials.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.