Skip to content

Serializable SecretFetcher

Compare
Choose a tag to compare
@Peilun-Li Peilun-Li released this 08 Dec 18:22
· 4 commits to main since this release
2c26391

What's Changed

  • Serializable SecretFetcher by @Peilun-Li in #32 . You can now customize SecretFetcher through (DatasetParameter) CLI input. Example:
Equivalent CLI input for
testsecret = DatasetParameter("testsecret", default=Dataset(name="TestSecret", options=SecretDatasetTestOptions(a="Ta", secret=SecretFetcher(env_var="test2")))
would be
--testsecret '{"name": "TestSecret", "options":{"type": "SecretDatasetTestOptions", "a": "Ta", "secret": {"type": "SecretFetcher", "env_var": "test2"}}}'

Full Changelog: 0.2.2...0.2.3