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": {
         "format": "uri",
         "minLength": 1,
         "title": "Connecturl",
         "type": "string"
      },
      "vaultTitle": {
         "title": "Vaulttitle",
         "type": "string"
      }
   },
   "required": [
      "connectUrl",
      "vaultTitle"
   ]
}

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

  • 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