npx stash auth login. The native Stack client finds the
+ resulting developer profile automatically, so you do not need
+ environment variables on your development machine.
+ >
+ ),
+ },
+ {
+ title: "stash env",
+ useFor: "CI and deployed environments",
+ icon: Terminal,
+ content: (
+ <>
+ Run npx stash env --name <app-env> while logged in.
+ It creates a client and prints the four environment variables below. The
+ access key is shown only once.
+ >
+ ),
+ },
+ {
+ title: "Dashboard",
+ useFor: "CI and deployed environments",
+ icon: LayoutDashboard,
+ content: (
+ <>
+ Open your{" "}
+
+ CipherStash workspace
+ + Use the developer profile locally. For CI or a deployed application, + create a separate credential set with the CLI or Dashboard. +
++ {index + 1}. {title} +
++ {useFor} +
++ {content} +
++ Deployment environment variables +
+
+ Both deployment methods produce the same values. Treat{" "}
+ CS_CLIENT_KEY and CS_CLIENT_ACCESS_KEY as
+ secrets.
+