ripe-smartphone-56353
07/04/2024, 3:07 PMflytectl get workflows -d development -p flytesnacks --admin.authType ClientSecret --admin.clientId flytepropeller --admin.clientSecretLocation /Users/christoph/.flyte/secret --admin.endpoint dns:///....
where the file /Users/christoph/.flyte/secret
contains the password I setup for flytepropeller
.
Is there a way to get additional client_id
and client_secret
values working?high-accountant-32689
08/14/2024, 2:23 PMripe-smartphone-56353
08/16/2024, 1:21 PMclient_id
and client_secrets
- Should I take this to mean the answer is "No, that's not possible"?ripe-smartphone-56353
08/16/2024, 2:00 PMhigh-accountant-32689
08/16/2024, 3:41 PMstaticClients
stanza in the selfAuthServer config in your values file. We have an example of this in the single binary template files.ripe-smartphone-56353
08/20/2024, 6:39 AMripe-smartphone-56353
08/22/2024, 6:58 AMvalues.yaml
worked:
inline:
auth:
appAuth:
selfAuthServer:
staticClients:
new-client-id:
client_secret: <output of `pip install bcrypt && python -c 'import bcrypt; import base64; print(base64.b64encode(bcrypt.hashpw("<your-random-password>".encode("utf-8"), bcrypt.gensalt(6))))'`>
grant_types:
- refresh_token
- client_credentials
id: new-client-id
response_types:
- token
scopes:
- all
- offline
- access_token
Do you know if it`s possible to restrict an account to a certain flyte project as well? I wasn't able to find anything about that in the docs.high-accountant-32689
08/23/2024, 3:28 PMDo you know if it`s possible to restrict an account to a certain flyte project as well?@ripe-smartphone-56353, no, this is not available in Flyte. We've had users express interest in this feature in the past (e.g. https://github.com/flyteorg/flyte/issues/5189), but no concrete implementation yet.