StaticSecret#

pydantic model phalanx.models.secrets.StaticSecret#

Value of a static secret provided in a YAML file.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "StaticSecret",
   "description": "Value of a static secret provided in a YAML file.",
   "type": "object",
   "properties": {
      "description": {
         "title": "Description",
         "type": "string"
      },
      "value": {
         "title": "Value",
         "type": "string",
         "writeOnly": true,
         "format": "password"
      }
   }
}

Fields:
field description: Optional[str] = None#

Description of the secret (ignored).

field value: Optional[SecretStr] = None#

Value of the secret, or None if it’s not known.

Constraints:
  • type = string

  • writeOnly = True

  • format = password