OnepasswordStorage#

class phalanx.storage.onepassword.OnepasswordStorage#

Bases: object

Create 1Password Connect clients for specific environments.

Methods Summary

get_onepassword_client(env)

Return a 1Password client configured for the given environment.

Methods Documentation

get_onepassword_client(env)#

Return a 1Password client configured for the given environment.

Parameters:

env (EnvironmentBaseConfig) – Phalanx environment.

Returns:

1Password Connect client configured for that environment.

Return type:

OnepasswordClient

Raises:

ValueError – Raised if this environment is not configured to use 1Password.