SecretCopyRules#

pydantic model phalanx.models.secrets.SecretCopyRules#

Rules for copying a secret value from another secret.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "SecretCopyRules",
   "description": "Rules for copying a secret value from another secret.",
   "type": "object",
   "properties": {
      "application": {
         "description": "Application from which the secret should be copied",
         "title": "Application",
         "type": "string"
      },
      "key": {
         "description": "Secret key from which the secret should be copied",
         "title": "Key",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "application",
      "key"
   ]
}

Config:
  • populate_by_name: bool = True

  • extra: str = forbid

Fields:
field application: str [Required]#

Application from which the secret should be copied

field key: str [Required]#

Secret key from which the secret should be copied