cuddly-jelly-27016
05/31/2025, 12:09 AMsecret_requests argument to secrets for task / eager / dynamic. The fact that it is a request is implied. However, probably add a user-facing note somewhere to make sure they don't accidentally put the actual secret in there.
### Union support
Support a single Secret without having to wrap it in a list (i.e. secrets: list[Secret]|Secret|None).
### Improve accessing
The current method to retrieve secrets (flytekit.current_context().secrets.get(key="WANDB_API_KEY")) is too verbose. Let's make it something like flytekit.access(key="WANDB_API_KEY").
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
05/31/2025, 12:09 AM