ResolvedSecrets#
- pydantic model phalanx.models.secrets.ResolvedSecrets#
All resolved secrets for a given Phalanx environment.
Secret resolution means that the configuration has been translated into a secret value.
- Parameters:
data (
Any
) –
Show JSON schema
{ "title": "ResolvedSecrets", "description": "All resolved secrets for a given Phalanx environment.\n\nSecret resolution means that the configuration has been translated into a\nsecret value.", "type": "object", "properties": { "applications": { "title": "Secrets by application and key", "description": "Mapping of application to secret key to that resolved secret", "default": {}, "type": "object", "additionalProperties": { "type": "object", "additionalProperties": { "type": "string", "writeOnly": true, "format": "password" } } }, "pull_secret": { "title": "Pull secret", "description": "Pull secret for the environment, if needed", "allOf": [ { "$ref": "#/definitions/PullSecret" } ] } }, "definitions": { "RegistryPullSecret": { "title": "RegistryPullSecret", "description": "Pull secret for a specific Docker Repository.", "type": "object", "properties": { "username": { "title": "Username", "description": "HTTP Basic Auth username", "type": "string" }, "password": { "title": "Password", "description": "HTTP Basic Auth password", "type": "string", "writeOnly": true, "format": "password" } }, "required": [ "username", "password" ], "additionalProperties": false }, "PullSecret": { "title": "PullSecret", "description": "Specification for a Docker pull secret.", "type": "object", "properties": { "description": { "title": "Description of pull secret", "description": "Description of the pull secret for humans reading the YAML file", "default": "Pull secrets for Docker registries. Each key under registries is the name of a Docker registry that needs a pull secret. The value should have two keys, username and password, that provide the HTTP Basic Auth credentials for that registry.", "type": "string" }, "registries": { "title": "Pull secret by registry", "description": "Pull secrets for each registry that needs one", "default": {}, "type": "object", "additionalProperties": { "$ref": "#/definitions/RegistryPullSecret" } } }, "additionalProperties": false } } }
- Fields:
-
field applications:
dict
[str
,dict
[str
,SecretStr
]] = {}# Mapping of application to secret key to that resolved secret
-
field pull_secret:
Optional
[PullSecret
] = None# Pull secret for the environment, if needed