Skip to main content
Alpha. These commands are in alpha and are available to customers on request. They are off until OpenWork turns them on for your organization. Expect commands, flags and output to change or be removed without notice. To try them, ask your OpenWork contact.
The openwork secrets commands manage write-only secrets under Organization › Secrets. People and agents allowed blind use can never view, copy, or download a saved secret. OpenWork only injects or signs with it against the locked target.
Every secret locks three settings when it is created:

add

Store a new write-only secret from a local file. Secret values are never accepted as command-line arguments.
For ssh-key secrets, OpenWork derives and displays the public key and SHA-256 fingerprint so you can add the public key to the server’s authorized_keys.

allow and revoke

Allow or end blind use for everyone, teams, people, or an agent.
When a person triggers an agent, both the acting person and the agent must be allowed blind use.

rules

Set allow, ask, or block for Everyone, a team, a member, or an agent. Precedence at runtime is block > ask > allow, and the default when no rule is set is ask.

rotate, show, and remove

Managing secrets requires the Manage connections permission (connections.manage) and a recent sign-in; agents and API keys cannot write secret values. Viewing metadata requires View connections (connections.view).