Skip to content

Commit

Permalink
feat!: initial sanity V3 release
Browse files Browse the repository at this point in the history
BREAKING CHANGE: this version of @sanity/studio-secrets only works in sanity v3
  • Loading branch information
snorrees committed Nov 15, 2022
1 parent 2e9f5f9 commit 6e2c730
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# @sanity/studio-secrets

> **NOTE**
>
> This is the **Sanity Studio v3 version** of sanity-secrets, @sanity/studio-secrets.
>
> For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity-secrets).
> This is a **Sanity Studio v3** plugin.
> For the v2 equivalent, please refer to the [v2-branch](https://github.com/sanity-io/sanity-secrets/studio-v2).
React hooks and UI for reading and managing secrets in a Sanity Studio. This is a good pattern for keeping configuration secret. Instead of using environment variables which would be bundled with the Studio source (it is an SPA), we store secret information in a document in the dataset. This document will not be readable to externals even in a public dataset. With custom access controls you can also specify which users can read the configuration in your Studio.

Expand Down

0 comments on commit 6e2c730

Please sign in to comment.