ResolvedSecret#

pydantic model phalanx.models.secrets.ResolvedSecret#

A secret that has been resolved for a given application instance.

Secret resolution means that the configuration has been translated into a secret value.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "ResolvedSecret",
   "description": "A secret that has been resolved for a given application instance.\n\nSecret resolution means that the configuration has been translated into a\nsecret value.",
   "type": "object",
   "properties": {
      "key": {
         "title": "Key",
         "type": "string"
      },
      "application": {
         "title": "Application",
         "type": "string"
      },
      "value": {
         "title": "Value",
         "type": "string",
         "writeOnly": true,
         "format": "password"
      }
   },
   "required": [
      "key",
      "application",
      "value"
   ]
}

Fields:
field application: str [Required]#

Application for which the secret is required.

field key: str [Required]#

Key of the secret.

field value: SecretStr [Required]#

Value of the secret.

Constraints:
  • type = string

  • writeOnly = True

  • format = password