On ke, 14 joulu 2022, Matthew Miller wrote:
I want to sync group membership to Discourse. See one idea for this here:
https://pagure.io/fedora-infrastructure/issue/10952

However, this would be approximately one billion times easier if I didn't
need to worry about the hard part of automating something with fasjson,
which is keeping a kerberos ticket fresh from a keytab. (I'd love to run my
whole thing as a function-as-a-service function.)

Why do you consider this as a 'hard thing'?

If you are using GSSAPI, e.g. python-gssapi, you can rely on automated
ticket acquisition provided by the GSSAPI library from MIT Kerberos.

export KRB5CCNAME=/path/to/ccache
export KRB5_CLIENT_KTNAME=/path/to/keytab
.. run your code ..

That's all.

fasjson_client documentation gives a way how to configure gssproxy for
essentially the same. It may be an overkill for the containers though.
https://fasjson-client.readthedocs.io/en/latest/usage.html#authentication



--
/ Alexander Bokovoy
_______________________________________________
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to