Hanzo
OpenapiIam

Serves POST /v1/iam/service-accounts/:name/keys: mint a fresh key, invalidating…

Serves POST /v1/iam/service-accounts/:name/keys: mint a fresh key, invalidating the prior one, and return the new raw secret exactly once.

POST /v1/iam/service-accounts/{name}/keys

Addresshttps://api.hanzo.ai/v1/iam/service-accounts/{name}/keys
MethodPOST
Operationpost_iam_service-accounts_by_name_keys
AuthAuthorization: Bearer $HANZO_API_KEY

Serves POST /v1/iam/service-accounts/:name/keys: mint a fresh key, invalidating the prior one, and return the new raw secret exactly once.

Request

1 field.

FieldInTypeRequiredDescription
namepathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo iam service-accounts keys <name>

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page