Files
kms/docs/documentation/platform/secret-sharing.mdx
zeekay 0ebffbd529 fix: white-label KMS branding and fix broken identifiers
- Fix 381 files where branding script corrupted variable names
  (e.g. isHanzo KMSTemplate -> isKmsTemplate)
- Rebrand from "Hanzo KMS" to just "KMS" for white-label support
  (allows Lux KMS, Hanzo KMS, etc. via configuration)
- 856 files, purely string replacements, no logic changes
2026-02-13 10:25:11 -08:00

103 lines
4.8 KiB
Plaintext

---
title: "Secret Sharing"
sidebarTitle: "Secret Sharing"
description: "Learn how to share time & 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.
KMS offers a secure solution for sharing secrets over the internet in a time and view-count bound manner. It is possible to share secrets without signing up via [share.kms.hanzo.ai](https://share.kms.hanzo.ai) or via KMS Dashboard (which has more advanced functionality).
## Sharing a Secret
<Steps>
<Step title="Navigate to the 'Secret Sharing' page and click 'Share Secret'">
![Secret Sharing](../../images/platform/secret-sharing/overview.png)
</Step>
<Step title="Configure Secret Share">
![Configure Secret](../../images/platform/secret-sharing/create-new-secret.png)
- **Name (optional):** A friendly name for the shared secret.
- **Your Secret:** The secret content.
- **Password (optional):** A password which will be required when viewing the secret.
- **Limit access to people within organization:** Only lets people within your organization view the secret. Enabling this feature requires secret viewers to log into KMS.
- **Expires In:** The time it'll take for the secret to expire.
- **Max Views:** How many times the secret can be viewed before it's destroyed.
- **Authorized Emails (optional):** Emails which are authorized to view this secret. Enabling this feature requires secret viewers to log into KMS. Each email will receive the shared secret link in their inbox after creation.
</Step>
<Step title="Copy Link and Share Secret">
After creating the shared secret, its link will be displayed. Share this with the intended recipients.
<Info>
If no organization or email restrictions are set, anyone with this link can view the secret before it expires.
</Info>
![Copy URL](../../images/platform/secret-sharing/copy-url.png)
</Step>
<Step title="Access Shared Secret">
Visiting the secret link will display its contents.
![Access Shared Secret](../../images/platform/secret-sharing/public-view.png)
</Step>
</Steps>
## Deleting a Shared Secret
To delete a shared secret, click the **Trash Can** icon on the relevant shared secret row in the [**Secret Sharing**](https://kms.hanzo.ai/organization/secret-sharing?selectedTab=share-secret) page.
![Delete Secret](../../images/platform/secret-sharing/delete-secret.png)
## Requesting a Secret
<Steps>
<Step title="Navigate to the 'Secret Sharing' page under the 'Request Secrets' tab and click 'Request Secret'">
![Request Secrets Overview](../../images/platform/secret-sharing/request-secrets-overview.png)
</Step>
<Step title="Configure Secret Request">
![Configure Request](../../images/platform/secret-sharing/create-new-request.png)
- **Name (optional):** A friendly name for the secret request.
- **Expires In:** The time it'll take for the request to expire.
- **General Access:** Who can see the request. (e.g., Everyone, Organization Members)
</Step>
<Step title="Copy Link and Share Request">
After creating the secret request, its link will be displayed. Share this with the intended recipients.
<Info>
If no access restrictions are set, anyone with this link can view the request before it expires.
</Info>
![Copy Request URL](../../images/platform/secret-sharing/request-copy-url.png)
</Step>
<Step title="Access Secret Request">
Visiting the secret request link will display a page for secret input.
![Request Secret Page](../../images/platform/secret-sharing/request-secret-page.png)
</Step>
</Steps>
## Custom Branding
<Info>
Custom branding for shared secret pages is a paid feature.
If you're using KMS Cloud, then it is available under the **Enterprise Tier**. If you're self-hosting KMS, then you should contact [email protected] to purchase an enterprise license to use it.
</Info>
You can customize the branding of your shared secret pages and secret request pages by providing your own logo and colors.
![Custom Branding Settings](../../images/platform/secret-sharing/custom-branding-settings.png)
If custom branding is added, the shared secret page will display your custom logo and colors without any information about KMS.
![Custom View](../../images/platform/secret-sharing/custom-view.png)
## FAQ
<AccordionGroup>
<Accordion title="Can secrets be changed after they are shared?">
No, secrets cannot be changed after they've been created. This is to ensure that secrets are not tampered with.
</Accordion>
</AccordionGroup>