Charmed OpenSearch
- By Canonical Data Platform
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
2/edge | 90 | 08 May 2024 |
juju deploy opensearch --channel 2/edge
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
22.04
charms.opensearch.v0.helper_security
-
- Last updated 21 Oct 2022
- Revision Library version 0.1
Helpers for security related operations, such as password generation etc.
Index
def generate_password()
Generate a random password string.
Returns
A random password string.
def generate_hashed_password()
Generates a password and its bcrypt hash.
Returns
A hash and the original password
def cert_expiration_remaining_hours(cert: string)
Description
Returns the remaining hours for the cert to expire. None
def normalized_tls_subject(subject: string)
Description
Removes any / character from a subject. None
def rfc2253_tls_subject(subject: string)
Description
Format the subject as per RFC2253 (inverted and , instead of /). None
def
to_pkcs8(
private_key: str,
password
)
Description
Convert a PEM key to PKCS8. None