k8s v0.5.2 K8s.Conn.PKI

Retrieves information from certificates

Link to this section Summary

Functions

Decodes the certificate from a base64 encoded string

Reads the certificate from PEM file or base64 encoding

Reads the certificate from a PEM file

Decodes private key from a base64 encoded string

Reads private key from a PEM file

Link to this section Functions

Link to this function

cert_from_base64(data)

cert_from_base64(String.t()) :: nil | binary()

Decodes the certificate from a base64 encoded string

Link to this function

cert_from_map(arg1, base_path)

cert_from_map(map(), String.t()) :: binary()

Reads the certificate from PEM file or base64 encoding

Link to this function

cert_from_pem(file)

cert_from_pem(String.t()) :: nil | binary()

Reads the certificate from a PEM file

Link to this function

private_key_from_base64(encoded_key)

private_key_from_base64(String.t()) :: nil | {atom(), binary()}

Decodes private key from a base64 encoded string

Link to this function

private_key_from_pem(file)

private_key_from_pem(String.t()) :: nil | {atom(), binary()}

Reads private key from a PEM file