cuddly-jelly-27016
08/13/2025, 12:10 AMsecrets.get("my_key") and assume that its the key.
For example: https://github.com/flyteorg/flytekit/pull/2767/files
### Goal: What should the final outcome look like, ideally?
I propose we define SecretsManager.get with a * to make it keyword only:
def get(
self,
*,
group: Optional[str] = None,
key: Optional[str] = None,
group_version: Optional[str] = None,
encode_mode: str = "r",
) -> str:
This is backward breaking, so we can go through a deprecation cycle before converting to keyword only.
### Describe alternatives you've considered
There are no alternatives
### Propose: Link/Inline OR Additional context
No response
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
08/13/2025, 12:10 AM