update secret sharing texts

This commit is contained in:
Maidul Islam
2024-05-29 17:06:24 -04:00
parent 285c4a93c6
commit 1990ce8c7d
6 changed files with 14 additions and 24 deletions

View File

@@ -1,10 +1,12 @@
---
title: "Secret Sharing"
sidebarTitle: "Secret Sharing"
description: "Learn how to share time-bound secrets securely with anybody on the internet."
description: "Learn how to share time-bound secrets securely with anyone on the internet."
---
Developers often need to share secrets with their team members, contractors, or other third parties. This can be a risky process, as secrets can be easily leaked or misused. Infisical provides a secure way to share secrets with anybody on the internet in a time-bound manner.
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.
With its zero-knowledge architecture, secrets shared via Infisical remain unreadable even to Infisical itself.
## Share a Secret
@@ -16,8 +18,8 @@ Developers often need to share secrets with their team members, contractors, or
3. Click on the **Share Secret** button.
<Note>
Infisical does not store the secret you share. 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.
@@ -29,7 +31,7 @@ Developers often need to share secrets with their team members, contractors, or
tampered with.
</Note>
5. Copy the link and share it with the intended recipient. Anybody 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 time. Hence, it is recommended to share the link only with the intended recipient.
![Copy URL](../../images/platform/secret-sharing/copy-url.png)

View File

@@ -10,7 +10,7 @@ export const ShareSecretPage = () => {
<div className="flex items-center justify-between py-6">
<div className="flex w-full flex-col">
<h2 className="text-3xl font-semibold text-gray-200">Secret Sharing</h2>
<p className="text-bunker-300">Share secrets with anybody securely and efficiently</p>
<p className="text-bunker-300">Share secrets securely with your teammates using a shareable link</p>
</div>
<div className="flex w-max justify-center">
<Link href="https://infisical.com/docs/documentation/platform/secret-sharing">

View File

@@ -168,10 +168,10 @@ export const AddShareSecretModal = ({ popUp, handlePopUpToggle }: Props) => {
setnewSharedSecret("");
}}
>
<ModalContent
title="Share a secret with anybody on the internet"
subTitle="When a secret is shared, you will only see the public share URL once before it disappears. Make sure to save it somewhere."
>
<ModalContent
title="Share a Secret"
subTitle="This link is only accessible once. Please share this link with intended recipients. "
>
{!hasSharedSecret ? (
<form onSubmit={handleSubmit(onFormSubmit)}>
<Controller

View File

@@ -60,12 +60,6 @@ export const ShareSecretSection = () => {
Share Secret
</Button>
</div>
<div className="mb-8 flex items-center justify-between">
<p className="flex-grow text-gray-400">
Every secret shared can be accessed with the URL (shown during creation) before its
expiry.
</p>
</div>
<ShareSecretsTable
handlePopUpOpen={handlePopUpOpen}
/>

View File

@@ -61,7 +61,7 @@ export const ShareSecretsTable = ({ handlePopUpOpen }: Props) => {
{!isLoading && tableData && tableData?.length === 0 && (
<Tr>
<Td colSpan={4} className="bg-mineshaft-800 text-center text-bunker-400">
<EmptyState title="No secrets shared currently" icon={faKey} />
<EmptyState title="No secrets shared yet" icon={faKey} />
</Td>
</Tr>
)}

View File

@@ -1,7 +1,6 @@
import { useEffect, useMemo, useState } from "react";
import Head from "next/head";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/router";
import { decryptSymmetric } from "@app/components/utilities/cryptography/crypto";
@@ -90,7 +89,7 @@ export const ShareSecretPublicPage = () => {
<Image src="/images/biglogo.png" height={180} width={240} alt="Infisical logo" />
</div>
<p className="mb-6 px-8 text-center text-xl md:px-0 md:text-3xl">
You’ve been shared a secret securely with Infisical.
A secret has been shared with you securely via Infisical
</p>
<div className="flex min-h-screen w-full flex-col md:flex-row">
<DragonMainImage />
@@ -108,11 +107,6 @@ export const ShareSecretPublicPage = () => {
copyUrlToClipboard={copyUrlToClipboard}
/>
</div>
<Link href="/">
<a className="mt-4 cursor-pointer rounded-md bg-mineshaft-500 py-2 px-4 text-lg font-semibold duration-200 hover:bg-primary hover:text-black">
Check Infisical out now!
</a>
</Link>
</div>
</div>
</div>