Skip to content

Commit

Permalink
Fix broken link (flyteorg#909)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>

Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw authored Oct 19, 2022
1 parent c8acc63 commit 350bc84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/core/containerization/use_secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
Flytekit provides a shorthand for loading the requested secret inside a task: ``secret = flytekit.current_context().secrets.get(SECRET_GROUP, SECRET_NAME)``
See the python examples further down for more details on how to request and use secrets in a task.
Flytekit relies on the following environment variables to load secrets (defined `here <https://github.com/flyteorg/flytekit/blob/master/flytekit/configuration/secrets.py>`_). When running tasks and workflows locally you should make sure to store your secrets accordingly or to modify these:
Flytekit relies on the following environment variables to load secrets (defined `here <https://github.com/flyteorg/flytekit/blob/9d313429c577a919ec0ad4cd397a5db356a1df0d/flytekit/configuration/internal.py#L141-L159>`_). When running tasks and workflows locally you should make sure to store your secrets accordingly or to modify these:
- ``FLYTE_SECRETS_DEFAULT_DIR``: The directory Flytekit searches for secret files, default: ``"/etc/secrets"``
- ``FLYTE_SECRETS_FILE_PREFIX``: a common file prefix for Flyte secrets, default: ``""``
Expand Down

0 comments on commit 350bc84

Please sign in to comment.