Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point to the tls-certificates-interface library V4 #181

Merged
merged 5 commits into from
Dec 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions interfaces/tls_certificates/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

## Usage

This relation interface describes the expected behavior of any charm claiming to be able to provide
This relation interface describes the expected behavior of any charm claiming to be able to provide
or consume TLS certificates.

A recommended approach is to use the [tls_certificates_interface library V4](https://github.com/canonical/tls-certificates-interface/blob/main/lib/charms/tls_certificates_interface/v4/tls_certificates.py).
tonyandrewmeyer marked this conversation as resolved.
Show resolved Hide resolved

## Direction

As all Juju relations, the `tls-certificates` interface consists of a provider and a requirer.
One of these, in this case the `provider`, will be expected to create TLS certificates where the
As with all Juju relations, the `tls-certificates` interface consists of a provider and a requirer.
One of these, in this case the `provider`, will be expected to create TLS certificates where the
`requirer` will be able to consume and use them for TLS communications.

```mermaid
Expand All @@ -19,7 +21,7 @@ flowchart

## Behavior

Both the requirer and the provider need to adhere to a certain set of criteria to be considered
Both the requirer and the provider need to adhere to a certain set of criteria to be considered
compatible with the interface.

### Requirer
Expand Down Expand Up @@ -63,7 +65,7 @@ The requirer specifies a set of certificate signing requests (CSR's).

### Provider

The provider replies with a certificate, a CA Certificate and a CA chain for each of the
The provider replies with a certificate, a CA Certificate and a CA chain for each of the
Certificate Signing Requests requested by the requirer.

#### Example
Expand Down
Loading