IBM-Cloud / secure-file-storage

Apply end to end security to securely store files
https://cloud.ibm.com/docs/solution-tutorials?topic=solution-tutorials-cloud-e2e-security
Other
15 stars 12 forks source link

Replace content of secure-file-storage-credentials secret with JSON credentials #10

Open data-henrik opened 5 years ago

data-henrik commented 5 years ago

Right now we extract details of COS and Cloudant service credentials into several variables. Later, we set individual parameters and encode them as single secret.

Why not pass the COS and Cloudant creds as parts? It would make simpler to rotate the credentials and adapt to changes.

data-henrik commented 5 years ago

kubectl create secret generic secure-file-storage-credentials --from-literal="cos_creds=${COS_CREDS}" --from-literal="cloudant_creds=${CLOUDANT_CREDS}" -n secure-file-storage