Identity and security

Secrets do not belong in the process list

From our operationsPublished:

Starting questionHow do we automate the handling of keys and credentials without exposing them?

Result

Works

Works through the API with input passed via standard input. As an argument, keys would have shown up in the process list.

Through the API designed for machines, passing secrets via standard input. A command-line argument would be visible in the process list and the shell history. A finding like this is a reason to check similar scripts deliberately.

What we experienced

While automating a secrets vault, passing the value through standard input failed. The tool only knows two ways: interactive input or a command-line argument. The argument would have been visible in the process list and the shell history.

A review found the same weakness in a second script. The fix was the direct programming interface, with the value passed through standard input.

What it means for business architecture

Security tools are built for people or for machines, rarely for both. Automation needs the route designed for machines.

Lessons learned

  1. Familiar patterns from other tools do not apply everywhere. Assumptions need checking.
  2. One finding is a reason to check similar places on purpose.
  3. A leak without symptoms is still a leak.
  • secrets
  • automation
  • secrets vault
  • security

More reports on Identity and security

  • In testing

    Signing in without passwords, for machines too

    How static passwords disappear from the mail infrastructure, including for automations such as the ERP system.

    Result: Open

    Related: Infrastructure, Business Architecture

  • Built

    One mail route: reuse beats a new integration

    Why new applications send their notifications through one shared, hardened mail route instead of their own providers.

    Result: Works

    Related: Business Architecture, Infrastructure

Consulting by SIMO GmbH

From the Lab to consulting.

This report shows what works technically. Whether it works in your company is a question of architecture. SIMO GmbH answers it with you, independent of vendors.

Decision Readiness Check: 12 questions, about 3 minutes, result at once. Initial call: 45 minutes, free of charge, by video. Entry with BISA 1 or BEIA. All on simo-online.com.