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": {
         "description": "URL to the 1Password Connect API server",
         "format": "uri",
         "minLength": 1,
         "title": "1Password Connect URL",
         "type": "string"
      },
      "vaultTitle": {
         "description": "Title of the 1Password vault from which to retrieve secrets",
         "title": "1Password vault title",
         "type": "string"
      }
   },
   "required": [
      "connectUrl",
      "vaultTitle"
   ]
}

Config:
  • alias_generator: function = <function to_camel_case at 0x7f413fdc14e0>

  • populate_by_name: bool = True

Fields:
field connect_url: AnyHttpUrl [Required] (alias 'connectUrl')#

URL to the 1Password Connect API server

Constraints:
  • allowed_schemes = [‘http’, ‘https’]

field vault_title: str [Required] (alias 'vaultTitle')#

Title of the 1Password vault from which to retrieve secrets

model_dump(**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.

Parameters:

kwargs (Any) –

Return type:

dict[str, Any]

model_dump_json(**kwargs)#

Export the model as JSON.

Overridden to change the default of by_alias from False to True, so that by default the exported dictionary uses camel-case.

Parameters:

kwargs (Any) –

Return type:

str