> Am 17.01.2024 um 05:27 schrieb sergio ruiz <sergio....@gmail.com>:
> 
> Hi, all.
> 
> One of my projects logs in to Spaces (Digital Ocean’s version of S3). I need 
> to be able access the credentials, but I don’t want to store them in the 
> source code, as I will be using Github to store the projects.
> 
> Is there an accepted way to do this (encryption)?
> 
> Should I store them on the system as environment variables? is this efficient?

One of the usualy ways especially on unix systems is to hand credentials in via 
the process environment. If you execute 

OSEnvironment current at: ‚SHELL'

in a playground you should see somthing like ‚/bin/bash‘. So when starting the 
process you just need to specify the environment variables so that pharo can 
access it. If you use docker there is a way to specify that easily.

Norbert

Reply via email to