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 either a secret value or knowledge that the secret is a static secret that must come from elsewhere.

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\neither a secret value or knowledge that the secret is a static secret that\nmust come from elsewhere.",
   "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