Can I distribute docker image with pregenerated keytab file?

536 views Asked by At

My application is using Kerberos authentication. My application is delivered via docker images. Docker image can be run on any host. Keytab file which is used by Kerberos for authentication contains host name and encrypted password of the principal.

Is it possible to generate keytab file for docker image which would work for any host image is placed to?

In other words, when Kerberos is performing authentication of the host - it is checking hostname of docker image, or hostname of the docker host, or not checking it at all? Is there any other issues with creating keytab for docker image?

0

There are 0 answers