ConditionalOIDCClientsGenerateRules#
- pydantic model phalanx.models.secrets.ConditionalOIDCClientsGenerateRules#
Conditional rules for generating an OpenID Connect client secret.
- Parameters:
data (
Any)
Show JSON schema
{ "title": "ConditionalOIDCClientsGenerateRules", "description": "Conditional rules for generating an OpenID Connect client secret.", "type": "object", "properties": { "if": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Configuration only applies if this Helm chart setting is set to a true value", "title": "Condition" }, "type": { "const": "oidc-clients", "description": "Type of secret", "title": "Secret type", "type": "string" } }, "additionalProperties": false, "required": [ "type" ] }
- Config:
extra: str = forbid
populate_by_name: bool = True
validate_by_alias: bool = True
validate_by_name: bool = True
- Fields:
- field condition: str | None = None (alias 'if')#
Configuration only applies if this Helm chart setting is set to a true value
- field type: Literal[SecretGenerateType.oidc_clients] [Required]#
Type of secret
- generate(source)#
Generate a new secret using these rules.
- Parameters:
source (
dict[str,OIDCClientSecret]) – OpenID Connect client information.- Returns:
New secret.
- Return type:
pydantic.SecretStr