Skip to content

Commit

Permalink
Document organisation webapi notify api key requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
andymantell committed Oct 2, 2024
1 parent b98c6fd commit 20dc5eb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/development/01-development-environment.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,29 @@ for the `organisation-app` service:
OneLogin__PrivateKey: "-----BEGIN RSA PRIVATE KEY-----SECRET KEY-----END RSA PRIVATE KEY-----"
----

=== Organisation WebApi

The `Organisation.WebApi` requires the following secrets / environment variables:

* `GOVUKNotify:ApiKey` / `GOVUKNotify__ApiKey`

These can be set as secrets with the following dotnet commands:

[source,bash]
----
dotnet user-secrets set --project Services/CO.CDP.Organisation.WebApi/CO.CDP.Organisation.WebApi.csproj GOVUKNotify:ApiKey "123456"
----

For Docker, the following environment variables need to be updated in `compose.override.yml`
for the `organisation` service:

[source,yaml]
----
organisation:
environment:
GOVUKNotify__ApiKey: "123456"
----

=== Authority API

The `Authority` API depends on the following secrets / environment variables:
Expand Down

0 comments on commit 20dc5eb

Please sign in to comment.