Hi Leonel,
I checked the Archy documentation and the available Genesys examples again.
Archy does not provide a documented mechanism to encrypt clientId or clientSecret inside .archy_config or an options file and then decrypt those values automatically at runtime.
Both configuration methods expect the actual credential value.
The better approach is to keep the OAuth secret outside the Archy configuration.
Archy supports configuration overrides, including environment-based configuration, so for automation/CI-CD I would use a secret manager or the pipeline's protected secret store and expose the credential to the Archy process only at runtime.
For example:
Secret Manager / GitHub Secrets / Azure DevOps Secrets / Jenkins Credentials
→ environment variable
→ Archy execution
This avoids storing the clientSecret in:
.archy_config
- options YAML files
- source control repositories
The clientId itself is generally not sensitive in the same way as the clientSecret, but I would still manage both together in the deployment pipeline for consistency.
I would also avoid passing the secret directly as a literal command-line argument where possible, because command-line arguments can be exposed through shell history, logs, or process inspection.
So the recommended approach is:
Do not encrypt the secret inside .archy_config. Store it in a proper secret store and inject it into Archy at runtime, preferably through environment-based configuration.
There is currently no documented native encryption/decryption feature for Archy's .archy_config or options files.
------------------------------
Gabriel
NA
------------------------------