Patch
/api/v1/secretmanager/secret-templates/static/{id}
Security
HTTP
Type bearer
Path parameters
id
stringRequired
Id of static secret template
Examplea6ed82f6-32b5-46d8-a3a3-c36cc574abd9
Body parameters
object
id
string
secretType
string
Min length1
Max length30
Pattern^[a-zA-Z0-9-_\s]{1,30}$
description
string
Min length0
Max length255
rotationInterval
integer (int32)
parameters
Array of object (StaticSecretFieldParamsDTO)
object
name
string
Min length1
Max length30
Pattern^[a-zA-Z0-9-_\s]{1,30}$
description
string
Min length0
Max length255
mask
boolean Required
required
boolean Required
type
string Required
PatternsingleLine|multiLine|password|fileUpload|otp|otpSeed|recoveryKeys|resource|account
allowDualValues
boolean
Applicable only when type is account or password. When true, the secret must carry two values (Primary and Secondary) for this field, enabling the Dual Account rotation feature.
discoverable
boolean
Applicable only when type is account. When true, users can browse and select accounts discovered from the linked resource in Resource Manager instead of entering an account name manually.
metadata
boolean
Marks the field as metadata (non-sensitive). Changes to metadata fields do not trigger a new secret version.
passwordPolicyId
string
Responses
204
No content