Oh. Yes, Chad is right. That's a better way. :)

On Tue, Nov 22, 2022 at 9:58 AM Chad Wilson <[email protected]> wrote:

> If seeking higher degrees of automation, I believe you can also use the
> API at https://api.gocd.org/current/#encrypt-a-plain-text-value for this,
> alongside a personal access token or another credential - but I haven't
> personally tried it for this purpose.
>
> I am sure Aravind can correct me if this is for a different purpose and
> encrypts differently. :-)
>
>
> On Tue, Nov 22, 2022 at 5:50 PM Aravind SV <[email protected]>
> wrote:
>
>> I would say the easiest way would be to add a secure environment variable
>> to any job or pipeline and copy the encrypted value off of the config XML.
>> I vaguely remember a command-line utility for it, but copying it off the
>> config XML is likely simpler at this time.
>>
>> Cheers,
>> Aravind
>>
>> On Mon, Nov 21, 2022 at 9:21 PM Tsanko Stoev <[email protected]> wrote:
>>
>>> Hello All,
>>>
>>> I was browsing the GoCD documentation and specifically database
>>> connection properties. There is a way to use an encrypted password for the
>>> connection (db.encryptedPassword). How does one go about creating an
>>> encrypted value from the plain text password?
>>> Thank you in advance.
>>>
>>> Sincerely,
>>> Tsanko Stoev
>>>
>>> --
>>> 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/CAGWsXCB3gagSK2jcfxkhQB9rJhxT41-UfkXZDZ8HXcvUb6X9tQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/go-cd/CAGWsXCB3gagSK2jcfxkhQB9rJhxT41-UfkXZDZ8HXcvUb6X9tQ%40mail.gmail.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/CACxychF1N%2Ba9aR1GaLobs%3Dh0ZHgpuLKWfE%3DarHg_x6T4gi5xGw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/go-cd/CACxychF1N%2Ba9aR1GaLobs%3Dh0ZHgpuLKWfE%3DarHg_x6T4gi5xGw%40mail.gmail.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/CAA1RwH-7ZNrFbwS8zMEY%3DiOwcVceJ2L49K-dHNzYDBP_bjewsQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/go-cd/CAA1RwH-7ZNrFbwS8zMEY%3DiOwcVceJ2L49K-dHNzYDBP_bjewsQ%40mail.gmail.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/CACxychEGBMCkOJ89Fbykoe%2BPx3uhXaJvZ1ij%3Dz%3DeKr%2Bw-tugmg%40mail.gmail.com.

Reply via email to