Streamlit in Snowflake 앱 공유하기¶
This topic covers URLs for sharing Streamlit in Snowflake apps with or without the Snowsight interface.
앱 URLs¶
Each Streamlit in Snowflake app has two URLs: app-builder URLs that show the Snowsight elements and app-viewer URLs that hide them. This allows you to share view-only links with business users.
By default, sharing an app using the app-viewer URL lets end users change the URL to access other parts of Snowflake. To enforce restricted access to only app-viewer URLs, an administrator must configure the ALLOWED_INTERFACES user property. For more information, see 사용자의 액세스를 Streamlit in Snowflake 로만 제한.
관리자는 앱 뷰어 URLs를 구성하여 조직의 ID 공급자(IdP)로 리디렉션할 수도 있습니다. 자세한 내용은 필수 보안 설정 섹션을 참조하십시오.
앱 빌더 URLs¶
앱 빌더 URL에서 앱을 볼 때 앱 상단에 오브젝트 도구 모음이 나타납니다. 도구 모음의 왼쪽에는 앱의 이름이 표시됩니다. 도구 모음의 오른쪽에는 앱의 상태가 표시됩니다. 또한 앱을 편집하는 데 필요한 권한이 있는 경우 도구 모음에 Edit 버튼이 포함됩니다. 앱을 다른 역할과 공유하는 데 필요한 권한이 있는 경우 도구 모음에 Share 버튼이 포함됩니다.
Snowsight 의 Streamlit Apps 페이지에서 앱을 선택하는 경우 새 탭이 앱 빌더 URL에 열립니다. URL의 형식은 다음과 같습니다.
https://app.snowflake.com/<organization_name>/<account_name>/#/streamlit-apps/<app_database>.<app_schema>.<app_name>
앱 뷰어 URLs¶
When you view an app from its app-viewer URL, the app is displayed without any part of the Snowsight interface. To enforce restricted access to only app-viewer URLs, an administrator must configure the ALLOWED_INTERFACES user property. For more information, see 사용자의 액세스를 Streamlit in Snowflake 로만 제한.
앱 뷰어 URL의 형식은 다음과 같습니다.
https://app.snowflake.com/streamlit/<organization_name>/<account_name>/#/apps/<url_id>
앱의 ``url_id``는 DESCRIBE STREAMLIT에 의해 반환됩니다.
Streamlit 앱 공유하기¶
Streamlit in Snowflake 앱에는 두 가지 공유 권한 수준이 있습니다.
View and share: 사용자가 앱 빌더 URL을 방문하는 경우 앱을 보고 다른 역할과 공유할 수 있습니다.
View only: 사용자가 앱 빌더 URL을 방문하는 경우 앱을 볼 수만 있습니다. 다른 역할과 공유할 수는 없습니다.
앱에 대해 필요한 USAGE 권한이 있는 모든 역할은 공유 옵션과 관계없이 앱 뷰어 URL에 액세스할 수 있습니다.
Streamlit 앱을 공유하려면 다음 단계를 수행합니다.
Snowsight 에 로그인합니다.
탐색 메뉴에서 Projects » Streamlit 를 선택합니다.
공유하려는 Streamlit 앱을 선택합니다.
Share 을 선택합니다.
Share Streamlit app 윈도우가 열립니다.
앱의 공유 목록에 역할을 추가하려면 역할의 이름을 입력합니다.
역할의 이름을 선택합니다.
역할 목록에 새 역할이 나타납니다.
역할 오른쪽의 드롭다운 목록에서 공유 권한 수준을 선택합니다.
앱의 URL을 복사하려면 :ui:`Copy link`를 선택합니다.
앱 빌더 URL을 복사하려면 선택 드롭다운 목록에서 :ui:`For app builders`를 선택합니다.
앱 뷰어 URL을 복사하려면 선택 드롭다운 목록에서 :ui:`For app viewers`를 선택합니다.
그런 다음 이메일이나 문자 메시지를 통해 이 URL을 전송할 수 있습니다.
Done 을 선택합니다.