Skip to content

Read the local-development token from the machine's shared keyring item - #927

Closed
AnthonyRonning wants to merge 1 commit into
masterfrom
opensecret/shared-machine-token
Closed

AnthonyRonning wants to merge 1 commit into
masterfrom
opensecret/shared-machine-token

Conversation

@AnthonyRonning

Copy link
Copy Markdown
Contributor

SecretSpec's bare access_token = "keyring" stores a token under an item named after each manifest's project, so every repository demanded its own login for the same machine token, and a machine that already had the token needed a user-level alias plus SECRETSPEC_PROVIDER to reuse it.

The opensecret_local alias now reads the one shared keyring item every Maple/OpenSecret manifest reads (same convention landing in os-deploy, observability and cloudflare-ops). A machine that has logged in once, from any of those repositories, needs nothing further; BWS project grants decide what that machine may read. just local-secrets-login still works on a fresh machine and writes that item. Signing keeps its own separate token and alias; the headless twin is unchanged. Fixture and docs updated.

🤖 Generated with Claude Code

SecretSpec's bare keyring credential stores a token under an item named after
each manifest's project, so every repository demanded its own login for the
same machine token and this VM needed a user-level alias plus
SECRETSPEC_PROVIDER to reuse it. The opensecret_local alias now names the
one shared keyring item every Maple/OpenSecret manifest reads: a machine that
has logged in once, from any of those repositories, needs nothing further,
and BWS project grants decide what it may read. Signing keeps its separate
token and alias; the headless twin is unchanged.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@AnthonyRonning

Copy link
Copy Markdown
Contributor Author

Superseded by the shared project-name approach, which keeps every manifest to project IDs and key names with the plain keyring credential.

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.

1 participant