user
11/13/2024, 7:45 AMaverage-finland-92144
11/13/2024, 3:54 PMPresumably I would want to add a new static client similar to theThat seem to be the case. According to a previous thread that worked for a CI/CD system (machine to machine auth too): https://discuss.flyte.org/t/16633322/what-is-the-recommended-way-to-authorize-the-github-actions- If it works for you please let us know, I think that section of the docs deserves a revampone,flyte-cli
stale-barista-80787
11/13/2024, 5:10 PMstale-barista-80787
11/19/2024, 7:52 AMAuthType.CLIENT_CREDENTIALS
- I'm not sure passing in that enum actually works or if setting 'ClientSecret'
as a string is more correct - I need to double check that
• At some point pyright "tricked" me into making the client id and secret into bytes
- for some reason flytekit's FlyteRemote
only ends up being able to connect if given str
for those fields
• Diffing remote.config
against Config.auto('some-config-that-works')
was very useful for figuring out the last bits when multiple small things where wrong, making debugging hardaverage-finland-92144
11/19/2024, 4:57 PM• I need the password/string that was bcrypted when connecting - this should be documented more clearlyBut you need this string for the "custom" client?
stale-barista-80787
11/19/2024, 4:58 PMstale-barista-80787
11/19/2024, 4:58 PMaverage-finland-92144
11/19/2024, 4:59 PM