The password file format is documented in the Usage Instruction section at
https://github.com/gocd/gocd-filebased-authentication-plugin#usage-instructions.
To quote

> You can put as many username/hashed password pairs as you like -- use a
new line for each one

This section on the README talks about the configuration of the plugin:
https://github.com/gocd/gocd-filebased-authentication-plugin#configuration.
The general assumption we make across most of the plugins is that folks
know how to read "path-to-password-file" means.  To put it in "exact steps"
fashion, You can put the file anywhere on the machine, you just need to
make sure the gocd-server process can access it.

If you feel the documentation can be improved further, please send across a
PR on the plugin repo
<https://github.com/gocd/gocd-filebased-authentication-plugin> or the docs
repo <https://github.com/gocd/docs.go.cd> with better documentation. We
love contributions from our users.

Thanks,

On Fri, May 28, 2021 at 10:53 PM 'smtechx5000' via go-cd <
[email protected]> wrote:

> Does the file name need to be '.htpasswd' ?  Or...'anything.htpasswd', or
> password.properties like the example in Go?  Can I just make a text file
> and name it something.htpasswd  then copy in my initial hashed password?
>
> On Friday, May 28, 2021 at 1:21:13 PM UTC-4 smtechx5000 wrote:
>
>> The plugin repo site is just as useless.
>>
>> On Friday, May 28, 2021 at 1:14:01 PM UTC-4 [email protected] wrote:
>>
>>> RTFM
>>>
>>>    1.
>>>    https://docs.gocd.org/current/configuration/dev_authentication.html
>>>    2.
>>>    https://github.com/gocd/gocd-filebased-authentication-plugin#readme
>>>
>>>
>>> On Fri, May 28, 2021 at 10:29 PM 'smtechx5000' via go-cd <
>>> [email protected]> wrote:
>>>
>>>> See what I mean?  Where is all this documentation?
>>>>
>>>> On Friday, May 28, 2021 at 12:58:48 PM UTC-4 smtechx5000 wrote:
>>>>
>>>>> And where can I download htpasswd  without installing the entire
>>>>> Apache server suite?  Will it work on Windows?
>>>>>
>>>>> On Thursday, May 27, 2021 at 11:31:10 PM UTC-4 Marques Lee wrote:
>>>>>
>>>>>> Reference:
>>>>>> https://httpd.apache.org/docs/2.4/programs/htpasswd.html
>>>>>>
>>>>>> If you need more robust, there are plugins for that
>>>>>>
>>>>>> On Thu, May 27, 2021 at 8:29 PM Marques Lee <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> If you’re referring to the default password file, it’s in Apache
>>>>>>> htpasswd format.
>>>>>>>
>>>>>>> On Thu, May 27, 2021 at 7:02 PM 'smtechx5000' via go-cd <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> Setting up password authentication on Windows.   What is a password
>>>>>>>> file and how do I create one on Windows?
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "go-cd" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>> send an email to [email protected].
>>>>>>>> To view this discussion on the web visit
>>>>>>>> https://groups.google.com/d/msgid/go-cd/bbce99d5-1394-4a57-9970-8672e6925124n%40googlegroups.com
>>>>>>>> <https://groups.google.com/d/msgid/go-cd/bbce99d5-1394-4a57-9970-8672e6925124n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "go-cd" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>>
>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/go-cd/ee92fd23-67ae-4722-9e34-d2e3ea07be5bn%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/go-cd/ee92fd23-67ae-4722-9e34-d2e3ea07be5bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> --
>>>
>>> Ashwanth Kumar / ashwanthkumar.in
>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/3c2cc37a-abbf-41cb-9ea4-85b8345bdfc7n%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/3c2cc37a-abbf-41cb-9ea4-85b8345bdfc7n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 

Ashwanth Kumar / ashwanthkumar.in

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAD9m7CwpM2-xJijgUuf1KdA5QCuZykC8M1v17%2BeVkT0n04yu2w%40mail.gmail.com.

Reply via email to