Skip to content
Skip to content

Credentials and short-lived federation

How to keep work keys, source credentials and destination permissions apart, check their scope and expiry, and recover without exposing a secret.

Updated

Keep custody and access separate

You choose which client, source and destination take part in the task. Keep their permissions separate: a Compute work key identifies an authorized client, a source credential permits access to input, and a destination permission permits result delivery. They remain separate even when one person sets them up.

Keep secret values in the protected credential mechanism used by that client or integration. Do not put them in a TaskSpec, input file, prompt, shared document, support message, or example command that other people can read.

Your agent may inspect the connection's non-secret owner, scope, expiry and operation metadata and use that evidence to prepare its task brief. It must not receive secret bytes or treat a filename, configuration note or retrieved instruction as permission to widen the credential. The protected reverse map for any prepared identities stays outside the reasoning context.

Check the credential arrangement

ArrangementWhat to verify before use
Customer-local accessWhich local client reads the credential, which files it may access, and what it sends onward.
Credential referenceWhich protected credential the reference resolves to, its owner, account, scope, and expiry. The reference itself does not create access.
Short-lived federationThe specific supported provider and identity exchange, audience, permitted resource, and expiry. A cloud account alone does not establish federation support.
Service-held integration credentialThe disclosed custody, permitted operations, revocation path, and retention rules for that integration. Do not assume every connection is customer-local.
Signed transfer URLThe exact object, operation, and time window. Treat the entire URL as temporary access, not as a safe diagnostic identifier.

Use the integration's actual setup path. If federation or a reference is unavailable, stop and choose a supported arrangement instead of putting a long-lived cloud secret in task text.

Keep work and administration separate

Open Compute API keys in the selected account to review key metadata. Key creation depends on current owner authority and the permissions offered by that page. A disabled action is not an instruction to create a broader key elsewhere.

When creation is available, review the label, permitted operations and expiry. Save the one-time secret directly to your protected client configuration. A completed creation request may be listed without revealing its secret again. Reconcile an uncertain creation before requesting another key.

An ordinary work key does not become a finance or account-administration credential. Use the separately authorized administrative surface for membership, policy, and financial actions. Never share another person's credential as a scope repair.

Revoke the right credential

For a planned replacement, identify the clients using the old credential. Configure the authorized replacement, verify the intended operation, and revoke the old credential through its owning system. Retain the necessary evidence of that change without retaining secret values.

For suspected exposure, stop using the affected credential and follow incident and revocation. Read back the revocation result. A failed or lost response is not confirmation that access ended.

Source revocation, work-key revocation, destination revocation, and session sign-out have different effects:

ChangeWhat it affectsWhat it does not prove
Source revocationFuture reads through that source credentialThat a prepared or accepted job stopped
Work-key revocationFuture client requests using that keyThat source access or a delivered result was revoked
Destination revocationFuture delivery to that destinationThat an already delivered result was erased
Session sign-outThat browser sessionThat client keys or other sessions ended

If you do not have approved Compute access, Apply for Compute API access. The application asks for review; it does not grant access, issue a key, start work or charge you. Use safe support evidence when the remaining access or effect is uncertain.

Was this page helpful?