ds graph
Defined in cli/commands/graph.ts. An agent's Microsoft Entra access through its own single-tenant app — never the Teams integration app.
ds graph read-user#
ds graph read-user <upn>
Looks up one account by its sign-in name (UPN) or object id and prints it as JSON. Graph does not look accounts up by email, so a guest, or anyone whose email differs from their UPN, is not found.
ds graph rotate-secret#
ds graph rotate-secret
Rotates the agent app's own client secret. It checks your AWS login first, mints a new secret, proves it can sign in before storing it anywhere, writes it to the agent bundle and ~/.config/devstride/agent.env, and retires the old one only once every place holds the new one. If a store is only partly done, both secrets stay valid and the command names where the new one landed — put it in the bundle before anyone runs ds secrets pull, then retire the old one. No flags.
ds graph retire-secret#
ds graph retire-secret <keyId>
Retires one named client secret — the follow-up when a rotation could not retire the old one itself. It refuses to retire the secret currently in use.