Closed sebastian-luna-valero closed 1 year ago
Solution is to do:
export FEDCLOUD_OIDC_AGENT_ACCOUNT=myaccount
fedcloud config show
instead of:
export OIDC_AGENT_ACCOUNT=myaccount
fedcloud config show
Hi Sebastian, thank you for testing. In the 2.0 version, all envvar have uniform names FEDCLOUD_
export FEDCLOUD_OIDC_AGENT_ACCOUNT=myaccount
export FEDCLOUD_SITE=IISAS-FedCloud
and so on.
Many thanks, Viet!
Just for information, users may have multiple configuration files and set the actual one via envvar FEDCLOUD_CONFIG_FILE. That will enable easy switching between multiple project environments (default site, vo, token, log file, ...)
Exactly, I remember that was the original purpose. Very useful indeed, many thanks!
Initial checklist
Affected packages and versions
2.0-alpha1
Link to runnable example
No response
Steps to reproduce
The config value shown for
oidc_agent_account
:is not updated with configuring the environment variable
OIDC_AGENT_ACCOUNT
:Subsequently I get the error:
which is solved when I do
Expected behavior
Actual behavior
Affected runtime and version
python@3.12
Affected package manager and version
No response
Affected OS and version
No response
Build and bundle tools
No response