Create Application Key
Create a new application key, which is used to authorize an API application.
Key details are returned in the response. They must be stored safely, as it will not be possible to retrieve them again.
Required permissions:
project.app.write
Connect-Protocol-Version*1Define the version of the Connect protocol
1Connect-Timeout-Ms?Connect-Timeout-MsDefine the timeout, in ms
application/json- body
applicationId*application_idThe ID of the application the key will be created for.
projectId*project_idThe ID of the project the application belongs to.
expirationDate?expiration_dateThe timestamp the key will expire.
date-timeSuccess
application/json- response
keyId?key_idThe unique ID of the newly created application key.
creationDate?creation_dateThe timestamp of the application key creation.
date-timekeyDetails?key_detailsKeyDetails contains the serialized private key and additional information depending on the key type. It must be stored safely, as it will not be possible to retrieve it again. A new key can be generated using the CreateApplicationKey endpoint.
bytecurl -X POST 'https://example.com/zitadel.application.v2.ApplicationService/CreateApplicationKey' \ -H 'Connect-Protocol-Version: 1' \ -H 'Content-Type: application/json' \ -d '{ "applicationId": "string", "projectId": "string"}'{ "keyId": "string", "creationDate": "2023-01-15T01:30:15.01Z", "keyDetails": "string"}Was this page helpful?
Create Application
Create Application: Create an application. The application can be OIDC, API or SAML type, based on the input. Required permissions:
Deactivate Application
Deactivate Application: Deactivates the application belonging to the input project and matching the provided application ID. Required permissions:
