mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-11-17 22:30:03 +08:00
Add usage note to secrets form (#2779)
Co-authored-by: José Valim <jose.valim@dashbit.co>
This commit is contained in:
parent
54e4a303fd
commit
51b96795b5
2 changed files with 6 additions and 0 deletions
|
|
@ -35,6 +35,9 @@ defmodule LivebookWeb.Hub.SecretFormComponent do
|
|||
<h3 class="text-2xl font-semibold text-gray-800">
|
||||
<%= @title %>
|
||||
</h3>
|
||||
<p class="text-gray-700">
|
||||
A notebook can read the secret value as a LB_ prefixed environment variable.
|
||||
</p>
|
||||
<div :if={@error_message} class="error-box">
|
||||
<%= @error_message %>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -41,6 +41,9 @@ defmodule LivebookWeb.SessionLive.SecretsComponent do
|
|||
<h3 class="text-2xl font-semibold text-gray-800">
|
||||
<%= @title %>
|
||||
</h3>
|
||||
<p class="text-gray-700">
|
||||
The notebook can read the secret value as a LB_ prefixed environment variable.
|
||||
</p>
|
||||
<.grant_access_message
|
||||
:if={@grant_access_secret}
|
||||
secret={@grant_access_secret}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue