Charmed OpenSearch

Channel Revision Published Runs on
2/edge 90 08 May 2024
Ubuntu 22.04
juju deploy opensearch --channel 2/edge
Show information

Platform:

Ubuntu
22.04

charms.opensearch.v0.helper_databag

Utility classes for app / unit data bag related operations.


class Scope

Description

Peer relations scope. None

class SecretStore

Class representing a secret store for a charm.

Description

Requires the following 2 properties on the charm:

  • app_peers_data
  • unit_peers_data

Methods

SecretStore. __init__( self , charm )

SecretStore. put( self , scope: Scope , key: str , value )

Description

Put string secret into the secret storage. None

SecretStore. put_object( self , scope: Scope , key: str , value , merge: bool )

Description

Put dict / json object secret into the secret storage. None

SecretStore. get( self , scope: Scope , key: str )

Description

Get string secret from the secret storage. None

SecretStore. get_object( self , scope: Scope , key: str )

Description

Get dict / json object secret from the secret storage. None

SecretStore. delete( self , scope: Scope , key: str )

Description

Delete secret from the secret storage. None