Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Instance Objects

GetSecretGenerator

GET
/admin/v1/secretgenerators/{generator_type}

Path Parameters

generator_type*generator_type
Value in"SECRET_GENERATOR_TYPE_UNSPECIFIED""SECRET_GENERATOR_TYPE_INIT_CODE""SECRET_GENERATOR_TYPE_VERIFY_EMAIL_CODE""SECRET_GENERATOR_TYPE_VERIFY_PHONE_CODE""SECRET_GENERATOR_TYPE_PASSWORD_RESET_CODE""SECRET_GENERATOR_TYPE_PASSWORDLESS_INIT_CODE""SECRET_GENERATOR_TYPE_APP_SECRET""SECRET_GENERATOR_TYPE_OTP_SMS""SECRET_GENERATOR_TYPE_OTP_EMAIL""SECRET_GENERATOR_TYPE_INVITE_CODE"

Response Body

Success

application/json
  1. response
secretGenerator?
Example Request
curl -X GET 'https://example.com/admin/v1/secretgenerators/SECRET_GENERATOR_TYPE_UNSPECIFIED'
Example Response200
{  "secretGenerator": {    "generatorType": "SECRET_GENERATOR_TYPE_UNSPECIFIED",    "details": {      "sequence": 0,      "creationDate": "2023-01-15T01:30:15.01Z",      "changeDate": "2023-01-15T01:30:15.01Z",      "resourceOwner": "string"    },    "length": 0,    "expiry": "string",    "includeLowerLetters": true,    "includeUpperLetters": true,    "includeDigits": true,    "includeSymbols": true  }}

Was this page helpful?