Skip to content

Commit

Permalink
Extra secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
juditnovak committed Sep 11, 2023
1 parent 60a8917 commit 8a35698
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion interfaces/opensearch_client/v0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ Passing sensitive information goes via Juju secrets. Corresponding pieces of inf
- Is expected to provide the `endpoints` field containing all cluster endpoint addresses in a comma-separated list.
- Is expected to provide the `version` field describing the installed version number of opensearch.
- If the charm has TLS enabled (such as using the [TLS Certificates Operator](https://github.com/canonical/tls-certificates-operator)), it is expected to provide the CA chain as of the `tls-ca` field published within a Juju Secret. The secret itself is shared via the `secret-tls` field of the databag.
- If the Requirer asked for other than the default secrets, Provider is expected to define a `secret-extra` field holding the URI of the particular Juju Secret containing all additional secret values.

### Requirer

- Is expected to provide a list of field names, that are not to be exposed on the relation databag, but handled within Juju Secrets. List members should be separated by ' ' (space character), and correspond to valid Juju Secret keys (i.e. alphanumerical characters with a potential '-' (dash) character)
- Is expected to provide a list of field names, that are not to be exposed on the relation databag, but handled within Juju Secrets. List members should be separated by ' ' (space character), and correspond to valid Juju Secret keys (i.e. alphanumerical characters with a potential '-' (dash) character). Secret fields must contain `username` and `password` (and `tls-ca` in case TLS is enabled).
- Is expected to provide an index name in the `index` field.
- Is expected to manage its own index.
- Indices are not created on the provider application when the relation is created. The `index` field exists to grant the correct permissions for the relation user, which the requirer charm uses to control its index.
Expand Down

0 comments on commit 8a35698

Please sign in to comment.