docs: secret sharing

This commit is contained in:
ShubhamPalriwala
2024-05-31 00:22:31 +05:30
parent 3438dbc70d
commit 2347242776
5 changed files with 15 additions and 10 deletions

View File

@@ -1,37 +1,42 @@
---
title: "Secret Sharing"
sidebarTitle: "Secret Sharing"
description: "Learn how to share time-bound secrets securely with anyone on the internet."
description: "Learn how to share time or view-count bound secrets securely with anyone on the internet."
---
Developers frequently need to share secrets with team members, contractors, or other third parties, which can be risky due to potential leaks or misuse.
Infisical offers a secure solution for sharing secrets over the internet in a time-bound manner.
Infisical offers a secure solution for sharing secrets over the internet in a time-bound manner as well as view count bound manner.
With its zero-knowledge architecture, secrets shared via Infisical remain unreadable even to Infisical itself.
## Share a Secret
1. Navigate to the **Projects** page.
1. Navigate to the **Organization** page.
2. Click on the **Secret Sharing** tab from the sidebar.
![Secret Sharing](../../images/platform/secret-sharing/overview.png)
3. Click on the **Share Secret** button.
<Note>
Infisical does not have access to the shared secrets. This is a part of our zero
knowledge architecture.
Infisical does not have access to the shared secrets. This is a part of our
zero knowledge architecture.
</Note>
4. Enter the secret you want to share and set the expiration time. Click on the **Share Secret** button.
3. Click on the **Share Secret** button.
![Add Sharing Secret](../../images/platform/secret-sharing/new-secret.png)
a. Time-bound secret: Set the expiration time in minutes, hours, days, or weeks.
![Add Time-Bound Sharing Secret](../../images/platform/secret-sharing/new-time-bound-secret.png)
b. View Count-bound secret: Set the number of views after which the secret will expire.
![Add View-Bound Sharing Secret](../../images/platform/secret-sharing/new-view-bound-secret.png)
<Note>
Secret once set cannot be changed. This is to ensure that the secret is not
tampered with.
</Note>
5. Copy the link and share it with the intended recipient. Anyone with the link can access the secret before its expiration time. Hence, it is recommended to share the link only with the intended recipient.
5. Copy the link and share it with the intended recipient. Anyone with the link can access the secret before its expiration condition. Hence, it is recommended to share the link only with the intended recipient.
![Copy URL](../../images/platform/secret-sharing/copy-url.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 KiB

After

Width:  |  Height:  |  Size: 542 KiB