Skip to content

Commit

Permalink
adding sha of spire-agent to the authorized client's workloads
Browse files Browse the repository at this point in the history
  • Loading branch information
telliere committed Mar 21, 2024
1 parent def9ea0 commit a905eb0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,11 @@ async def handle_client_registration():
"client_id": client_id,
"token": agent_token,
}


result = entry_create(
agent_spiffeID, workload_spiffeID, ["unix:sha256:5ebff0fdb3335ec0221c35dcc7d3a4433eb8a5073a15a6dcfdbbb95bb8dbfa8e"]
)

# Success
return {
"success": True,
Expand Down

0 comments on commit a905eb0

Please sign in to comment.