From f124b6c8c6a431dbd1af4f08334a90181240ad9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 16 Nov 2023 11:05:08 +0100 Subject: [PATCH] Add AWS Credentials hint --- lib/livebook_web/live/hub/file_system_form_component.ex | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/livebook_web/live/hub/file_system_form_component.ex b/lib/livebook_web/live/hub/file_system_form_component.ex index 5ab3a4827..a451eab62 100644 --- a/lib/livebook_web/live/hub/file_system_form_component.ex +++ b/lib/livebook_web/live/hub/file_system_form_component.ex @@ -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)" /> +

+ 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. +