mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
fix(vault): link to current dashboard route (#51058)
I updated first-party Vault links to open the current secrets route directly. Wrapper credentials, extension metadata, and blog posts still linked to the retired path and relied on a redirect. ## To test On the preview: - [x] Inspect a Wrapper credential's Vault link. Expect `/integrations/vault/secrets` with a `search` query for that credential. - [x] Open the inspected target URL. Expect Vault to show the matching secret. - [ ] Click a Wrapper credential's Vault link. Expect the filtered Vault view. - [ ] Open the pgsodium extension's Vault link and a Vault blog link. Expect `/integrations/vault/secrets` without the retired route in the address bar. ## Linear - fixes GROWTH-1312 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Updates** * Vault secrets links now direct you to the project’s Integrations page, including links from wrapper metadata, blog articles, and the `pgsodium` extension listing. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
1 parent
99c6e306c7
commit
9690efeb42
5 files changed
+7
-7
No files matched your search
@@ -70,7 +70,7 @@ export const WrapperRow = ({ wrapper, isShared }: WrapperRowProps) => {
|
||||
{' '}
|
||||
Edit this server's credentials in{' '}
|
||||
<Link
|
||||
href={`/project/${ref}/settings/vault/secrets`}
|
||||
href={`/project/${ref}/integrations/vault/secrets`}
|
||||
className="underline underline-offset-2"
|
||||
>
|
||||
Vault
|
||||
@@ -140,7 +140,7 @@ export const WrapperRow = ({ wrapper, isShared }: WrapperRowProps) => {
|
||||
{encryptedMetadata.map((metadata) => (
|
||||
<div key={metadata.name} className="flex items-center space-x-2 text-sm">
|
||||
<Link
|
||||
href={`/project/${ref}/settings/vault/secrets?search=${encodeURIComponent(
|
||||
href={`/project/${ref}/integrations/vault/secrets?search=${encodeURIComponent(
|
||||
`${wrapper.name}_${metadata.name}`
|
||||
)}`}
|
||||
className="transition text-foreground-light hover:text-foreground flex items-center space-x-2 max-w-28"
|
||||
|
||||
@@ -19,7 +19,7 @@ Vault is a thin usability-layer on top of [pgsodium](https://github.com/michelp/
|
||||
|
||||
❇️ UPDATE JUNE 2023 ❇️
|
||||
|
||||
Vault is now available on every Supabase project. [Check it out](https://supabase.com/dashboard/project/_/settings/vault/secrets)
|
||||
Vault is now available on every Supabase project. [Check it out](https://supabase.com/dashboard/project/_/integrations/vault/secrets)
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ Vault is a new Postgres extension and accompanying Supabase UI that makes it saf
|
||||
|
||||
❇️ UPDATE JUNE 2023 ❇️
|
||||
|
||||
Supabase Vault is now available on every Supabase project. [Check it out](https://supabase.com/dashboard/project/_/settings/vault/secrets)
|
||||
Supabase Vault is now available on every Supabase project. [Check it out](https://supabase.com/dashboard/project/_/integrations/vault/secrets)
|
||||
|
||||
</div>
|
||||
|
||||
@@ -91,7 +91,7 @@ Privacy is becoming one of the most important features in a modern product. Supa
|
||||
|
||||
### Using the Vault
|
||||
|
||||
To learn how to use Supabase Vault, check out the [docs](https://supabase.com/docs/guides/database/vault). Supabase Vault is now available on all [Supabase projects](https://supabase.com/dashboard/project/_/settings/vault/secrets) (some projects will have to enable via request).
|
||||
To learn how to use Supabase Vault, check out the [docs](https://supabase.com/docs/guides/database/vault). Supabase Vault is now available on all [Supabase projects](https://supabase.com/dashboard/project/_/integrations/vault/secrets) (some projects will have to enable via request).
|
||||
|
||||
## More Launch Week 6
|
||||
|
||||
|
||||
@@ -226,7 +226,7 @@ END;
|
||||
$$;
|
||||
```
|
||||
|
||||
This function can retrieve the `service_role` secret from [Vault](https://supabase.com/dashboard/project/_/settings/vault/secrets), it also ensures that only authorized roles can access sensitive environment variables.
|
||||
This function can retrieve the `service_role` secret from [Vault](https://supabase.com/dashboard/project/_/integrations/vault/secrets), it also ensures that only authorized roles can access sensitive environment variables.
|
||||
|
||||
## Setting Up the Edge Function
|
||||
|
||||
|
||||
@@ -376,7 +376,7 @@
|
||||
"link": "/guides/database/extensions/pgsodium",
|
||||
"github_url": "https://github.com/michelp/pgsodium",
|
||||
"product": "Supabase Vault",
|
||||
"product_url": "/project/{ref}/settings/vault/secrets"
|
||||
"product_url": "/project/{ref}/integrations/vault/secrets"
|
||||
},
|
||||
{
|
||||
"name": "pgstattuple",
|
||||
|
||||
Reference in new issue
Block a user