mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-11-08 05:04:46 +08:00
Add AWS Credentials hint
This commit is contained in:
parent
fbcf3e5c50
commit
f124b6c8c6
1 changed files with 7 additions and 2 deletions
|
|
@ -59,8 +59,13 @@ defmodule LivebookWeb.Hub.FileSystemFormComponent do
|
|||
placeholder="https://s3.[region].amazonaws.com/[bucket]"
|
||||
/>
|
||||
<.text_field field={f[:region]} label="Region (optional)" />
|
||||
<.password_field field={f[:access_key_id]} label="Access Key ID" />
|
||||
<.password_field field={f[:secret_access_key]} label="Secret Access Key" />
|
||||
<.password_field field={f[:access_key_id]} label="Access Key ID (optional)" />
|
||||
<.password_field field={f[:secret_access_key]} label="Secret Access Key (optional)" />
|
||||
<p class="text-xs text-gray-700">
|
||||
You may leave Access Key fields empty. In such cases,
|
||||
they will be automatically read from your environment variables,
|
||||
AWS credentials, or Amazon EC2/ECS metadata.
|
||||
</p>
|
||||
<div class="flex space-x-2">
|
||||
<button class="button-base button-blue" type="submit" disabled={not @changeset.valid?}>
|
||||
<.remix_icon icon={@button.icon} class="align-middle mr-1" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue