Hi Ross

The auto-registration key it refers to is automatically generated when your
server first starts (if not present). It's persisted to the server config,
stored at different locations depending on your installation type. For a
container it's at https://hub.docker.com/r/gocd/gocd-server "Under the
Hood", i.e */godata/config/config.xml *(generally for a container you will
be mounting a volume to /godata so it is persisted)

When auto-generated by the server on start-up it's a UUIDv4 (generated from
a secure random number generator, represented as a string), but doesn't
have to be - and is treated as a string everywhere I believe, so you can
edit it yourself to something else if you would prefer something even more
secure/random.

-Chad


On Fri, Oct 14, 2022 at 1:09 PM Ross G <[email protected]> wrote:

> Hi, can you please clarify what this step in the documentation means?
> https://docs.gocd.org/22.2.0/advanced_usage/agent_auto_register.html
>
> *Add an attribute named “agentAutoRegisterKey”, for e.g.,
> agentAutoRegisterKey=“388b633a88de126531afa41eff9aa69e”, in the server
> configuration fragment, in case it is not present*
>
>
>    - What file is that and where do I find that in a server container?
>    - Should I be randomly generating this key? if so, what is the
>    definition of the key length and allowed characters?
>
> Thanks,
>
> --
> 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/f2b159da-300d-4a2f-be30-21cdf385d585n%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/f2b159da-300d-4a2f-be30-21cdf385d585n%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/CAA1RwH959Jv9j21h6Vx7zESjkn63f1Qr%2BAWFky_DFadPCt1b%2Bw%40mail.gmail.com.

Reply via email to