Skip to content

Conversation

Copy link

Copilot AI commented Dec 26, 2025

Users needed guidance on configuring EGERIA_USER and EGERIA_USER_PASSWORD environment variables on Linux systems.

Changes

  • Added SETUP_LINUX_CREDENTIALS.md: 387-line guide covering five setup methods (.env file, export commands, shell profiles, config directories, secret managers) with security best practices, troubleshooting, and working examples

  • Updated README.md: Added reference link to credentials guide in environment variables section

  • Updated config/README.md: Added credentials setup section linking to comprehensive guide

Example Usage

# Method 1: .env file (recommended for development)
cat > .env << 'EOF'
EGERIA_USER=myusername
EGERIA_USER_PASSWORD=mypassword
EGERIA_PLATFORM_URL=https://localhost:9443
EOF
chmod 600 .env
grep -qxF '.env' .gitignore || echo '.env' >> .gitignore

# Method 2: Session export
export EGERIA_USER=myusername
export EGERIA_USER_PASSWORD=mypassword

# Verify configuration
python -c "
from pyegeria import load_app_config, get_app_config
load_app_config()
cfg = get_app_config()
print(f'User: {cfg.User_Profile.user_name}')
"

Includes security practices (file permissions, gitignore, credential rotation) and troubleshooting for authentication failures.

Original prompt

how do I set up login secrets on linux terminal


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits December 26, 2025 13:35
Co-authored-by: dwolfson <1976757+dwolfson@users.noreply.github.com>
…tation

Co-authored-by: dwolfson <1976757+dwolfson@users.noreply.github.com>
Co-authored-by: dwolfson <1976757+dwolfson@users.noreply.github.com>
Copilot AI changed the title [WIP] Add setup instructions for login secrets on Linux terminal Add comprehensive Linux credentials setup documentation Dec 26, 2025
Copilot AI requested a review from dwolfson December 26, 2025 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants