[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: token/session lifetime



For cases where you want a long lived token, we recommend that you create a service account, grant that SA the rights you need, grab the SA's token and use it.  That gives you a long-lived, revocable token to avoid annoyances like that.

On Thu, Jan 21, 2016 at 8:23 AM, Philippe Lafoucrière <philippe lafoucriere tech-angels com> wrote:
Hi,

I wonder if there's a way to have tokens with different ttl in openshift.
I have 2 use-cases where it's an issue:

- CI: our ci server needs to be able to push image layers everyday, obviously
- Pruner: we have a dedicated user for that, and of course, after a few days:

$ /bin/oadm prune images --keep-tag-revisions=3 --keep-younger-than=60m --confirm
Error from server: the server has asked for the client to provide credentials

Thanks
Philippe

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]