OnepasswordConfig#
- pydantic model phalanx.models.environments.OnepasswordConfig#
Configuration for 1Password static secrets source.
- Parameters:
data (
Any
) –
Show JSON schema
{ "title": "OnepasswordConfig", "description": "Configuration for 1Password static secrets source.", "type": "object", "properties": { "connectUrl": { "title": "Connecturl", "minLength": 1, "maxLength": 65536, "format": "uri", "type": "string" }, "vaultTitle": { "title": "Vaulttitle", "type": "string" } }, "required": [ "connectUrl", "vaultTitle" ] }
- Config:
alias_generator: function = <function to_camel_case at 0x7f2da5e416c0>
allow_population_by_field_name: bool = True
- Fields:
-
field connect_url:
AnyHttpUrl
[Required] (alias 'connectUrl')# URL to the 1Password Connect API server.
- Constraints:
minLength = 1
maxLength = 65536
format = uri
-
field vault_title:
str
[Required] (alias 'vaultTitle')# Title of the 1Password vault from which to retrieve secrets.
- dict(**kwargs)#
Export the model as a dictionary.
Overridden to change the default of
by_alias
from False to True, so that by default the exported dictionary uses camel-case.