Skip to content

Commit 5237b14

Browse files
author
Pablo Panero
committed
deployment: add invenio secrets creation
1 parent a3f60fc commit 5237b14

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/deployment/openshift.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ $ oc project invenio
1919

2020
Before deploying, you need to provide the credentials so the application can access the different services. Replace the credentials and configuration below with your own:
2121

22+
**Invenio secret key**:
23+
24+
```console
25+
$ SECRET_KEY=$(openssl rand -hex 8)
26+
$ oc create secret generic \
27+
--from-literal="INVENIO_SECRET_KEY=$SECRET_KEY" \
28+
invenio-secrets
29+
```
30+
2231
**Database secrets:**
2332

2433
```console

0 commit comments

Comments
 (0)