Skip to content

Error Failed to access secure storage (keyring): Platform secure storage failure: DBus error: The name org.freedesktop.secrets was not provided by any .service files #1852

@Dan-Wuensch

Description

@Dan-Wuensch

Describe the bug

Our code to run goose headlessly using "aws_bedrock" as the provider is not working anymore on the latest goose version. We're getting the following error:

thread 'main' panicked at /home/runner/work/goose/goose/crates/goose-cli/src/session/builder.rs:32:64:
Failed to create provider: Failed to access keyring: Platform secure storage failure: DBus error: The name org.freedesktop.secrets was not provided by any .service files

To Reproduce

mkdir -p /home/runner/.local/bin
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | CONFIGURE=false INSTALL_PATH=/home/runner/.local/bin bash
echo "/home/runner/.local/bin" >> $GITHUB_PATH

mkdir -p ~/.config/goose
cat <<EOF > ~/.config/goose/config.yaml
GOOSE_PROVIDER: aws_bedrock
GOOSE_MODEL: us.anthropic.claude-3-7-sonnet-20250219-v1:0
keyring: false
extensions:
   developer:
      enabled: true
      name: developer
      type: builtin
EOF

        
echo "$ENHANCED_CONTENT" >> instructions.txt
goose run --instructions instructions.txt | \

Expected behavior
goose runs using the config file and provider bedrock

Screenshots
If applicable, add screenshots to help explain your problem.

Please provide following information:

  • OS & Arch: GitHub Action Runner 2.322.0
  • Interface: CLI
  • Version: latest via Curl download and install command
  • Extensions enabled: developer
  • Provider & Model: bedrock, us.anthropic.claude-3-7-sonnet-20250219-v1:0

Additional context
Running as part of CI/CD pipeline

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions