Create access key from SAML
Exchange a SAML assertion for a temporary access key (anonymous on the CoreWeave side).
gRPC method: CreateAccessKeyFromSAML
- The API server is
https://api.coreweave.com. - This endpoint is anonymous on the CoreWeave side —
authentication comes from the SAML assertion in the
request body, not a
Bearertoken in the header.
durationSeconds and must be
0–43200 seconds (12 hours maximum). The samlResponse
must be base64-encoded.
To regenerate the key after durationSeconds has elapsed,
resubmit a fresh SAML assertion.
Body
Inputs for exchanging a SAML assertion for a CoreWeave AI Object Storage access key.
Lifespan of the resulting access key in seconds. Must be 0–43200 (12 hours maximum).
0 <= x <= 43200The CoreWeave organization ID to mint the access key for.
The SAML assertion, base64-encoded.
Free-form caller-supplied attributes attached to the key (for example, name).
The Workload Identity Federation configuration ID that corresponds to the SAML provider. Configurations are created from the Cloud Console; see Using Workload Identity Federation with SAML.
Response
OK
The newly-minted access key. The secretKey is the only opportunity to read the secret value.
The access-key ID.
The secret access key. Treat as a credential and store it securely on receipt.
The fully-qualified principal name that owns the access key (for example, saml/examplerole).
The expiration time of the access key.
The attributes that were attached to the key on creation.